mirror of https://github.com/adamdruppe/arsd.git
debug helper
This commit is contained in:
parent
0694c7a772
commit
aef7177402
1
http2.d
1
http2.d
|
@ -2010,6 +2010,7 @@ class HttpRequest {
|
||||||
if(followLocation && responseData.location.length) {
|
if(followLocation && responseData.location.length) {
|
||||||
static bool first = true;
|
static bool first = true;
|
||||||
//version(DigitalMars) if(!first) asm { int 3; }
|
//version(DigitalMars) if(!first) asm { int 3; }
|
||||||
|
debug(arsd_http2) writeln("redirecting to ", responseData.location);
|
||||||
populateFromInfo(Uri(responseData.location), HttpVerb.GET);
|
populateFromInfo(Uri(responseData.location), HttpVerb.GET);
|
||||||
//import std.stdio; writeln("redirected to ", responseData.location);
|
//import std.stdio; writeln("redirected to ", responseData.location);
|
||||||
first = false;
|
first = false;
|
||||||
|
|
Loading…
Reference in New Issue