Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Issue 71: Unexpected redirect for method GET.
  • Loading branch information
jacob-carlborg committed Jul 13, 2014
1 parent 9f48984 commit bb051f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tango/net/http/HttpClient.d
Expand Up @@ -128,7 +128,7 @@ class HttpClient
public enum Version {OnePointZero, OnePointOne};

// standard set of request methods ...
enum RequestMethod Get = {"GET"},
static immutable RequestMethod Get = {"GET"},
Put = {"PUT"},
Head = {"HEAD"},
Post = {"POST"},
Expand Down

0 comments on commit bb051f2

Please sign in to comment.