darcs

Patch 464 resolve issue1637: report HTTP response code for HTTP ...

Title resolve issue1637: report HTTP response code for HTTP ...
Superseder Nosy List dmitry.tsygankov
Related Issues
Status accepted Assigned To
Milestone

Created on 2010-11-15.19:12:23 by dmitry.tsygankov, last changed 2011-05-10.19:37:42 by darcswatch. Tracked on DarcsWatch.

Files
File name Status Uploaded Type Edit Remove
resolve-issue1637_-report-http-response-code-for-http-errors.dpatch dmitry.tsygankov, 2010-11-15.19:12:23 text/x-darcs-patch
unnamed dmitry.tsygankov, 2010-11-15.19:12:23
See mailing list archives for discussion on individual patches.
Messages
msg13072 (view) Author: dmitry.tsygankov Date: 2010-11-15.19:12:23
1 patch for repository http://darcs.net:

Mon Nov 15 21:33:45 MSK 2010  Dmitry Tsygankov <dmitry.tsygankov@gmail.com>
  * resolve issue1637: report HTTP response code for HTTP errors
Attachments
msg13177 (view) Author: ganesh Date: 2010-11-21.19:25:52
Looks good. What happens if one is using HTTP rather than curl?
msg13188 (view) Author: darcswatch Date: 2010-11-21.21:12:21
This patch bundle (with 1 patches) was just applied to the repository http://darcs.net/.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-2e7798cc6df8170f98c1ea02d54da429a4ece31b
msg13267 (view) Author: dmitry.tsygankov Date: 2010-11-26.23:39:06
> What happens if one is using HTTP rather than curl?

Something like 

Right res@Response { rspCode = (2,0,0) } -> return (rspBody res)
Right Response { rspCode = (x,y,z) } ->
    debugFail $ "HTTP " ++ show x ++ show y ++ show z ++ " error getting
" ++ show uri

That is, it should be OK. Didn't test it, though.
msg14216 (view) Author: darcswatch Date: 2011-05-10.19:37:42
This patch bundle (with 1 patches) was just applied to the repository http://darcs.net/reviewed.
This message was brought to you by DarcsWatch
http://darcswatch.nomeata.de/repo_http:__darcs.net_reviewed.html#bundle-2e7798cc6df8170f98c1ea02d54da429a4ece31b
History
Date User Action Args
2010-11-15 19:12:23dmitry.tsygankovcreate
2010-11-15 19:13:23darcswatchsetdarcswatchurl: http://darcswatch.nomeata.de/repo_http:__darcs.net_.html#bundle-2e7798cc6df8170f98c1ea02d54da429a4ece31b
2010-11-21 19:25:52ganeshsetstatus: needs-screening -> accepted-pending-tests
messages: + msg13177
2010-11-21 21:12:21darcswatchsetstatus: accepted-pending-tests -> accepted
messages: + msg13188
2010-11-26 23:39:07dmitry.tsygankovsetmessages: + msg13267
2011-05-10 19:37:42darcswatchsetmessages: + msg14216