Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
ef3c3ff4
Commit
ef3c3ff4
authored
Aug 08, 2008
by
David Himmelstrup
Browse files
Use correct uri to /buildreports
parent
7c5db950
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Distribution/Client/BuildReports/Upload.hs
View file @
ef3c3ff4
...
@@ -51,7 +51,7 @@ postBuildReport :: URI -> BuildReport -> BrowserAction BuildReportId
...
@@ -51,7 +51,7 @@ postBuildReport :: URI -> BuildReport -> BrowserAction BuildReportId
postBuildReport
uri
buildReport
=
do
postBuildReport
uri
buildReport
=
do
setAllowRedirects
False
setAllowRedirects
False
(
_
,
response
)
<-
request
Request
{
(
_
,
response
)
<-
request
Request
{
rqURI
=
uri
,
rqURI
=
uri
{
uriPath
=
"/buildreports"
}
,
rqMethod
=
POST
,
rqMethod
=
POST
,
rqHeaders
=
[
Header
HdrContentType
(
"text/plain"
),
rqHeaders
=
[
Header
HdrContentType
(
"text/plain"
),
Header
HdrContentLength
(
show
(
length
body
)),
Header
HdrContentLength
(
show
(
length
body
)),
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment