File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 4
4
A gloriously functional HTTP client library for F#! NuGet name:
5
5
` Http.fs ` .
6
6
7
- .Net build (AppVeyor): [ ![ AppVeyor Build status] ( https://ci.appveyor.com/api/projects/status/vcqrxl5d03xxyoa3/branch/master )] ( https://ci.appveyor.com/project/GrantCrofton /http-fs/branch/master )
8
- Mono build (Travis CI): [ ![ Travis Build status] ( https://travis-ci.org/relentless /Http.fs.svg?branch=master )] ( https://travis-ci.org/relentless /Http.fs )
7
+ .Net build (AppVeyor): [ ![ AppVeyor Build status] ( https://ci.appveyor.com/api/projects/status/s3xy4lk0novh549h?svg=true )] ( https://ci.appveyor.com/project/haf /http-fs )
8
+ Mono build (Travis CI): [ ![ Travis Build status] ( https://travis-ci.org/haf /Http.fs.svg?branch=releases%2Fv4.x )] ( https://travis-ci.org/haf /Http.fs )
9
9
NuGet package: [ ![ NuGet] ( http://img.shields.io/nuget/v/Http.fs.svg?style=flat )] ( http://www.nuget.org/packages/Http.fs/ )
10
10
11
11
## How do I use it? ##
@@ -42,7 +42,7 @@ let request =
42
42
|> Request.withBasicAuthentication "myUsername" "myPassword" // UTF8-encoded
43
43
|> Request.withHeader (UserAgent "Chrome or summat")
44
44
|> Request.withHeader (Custom ("X-My-Header", "hi mum"))
45
- |> Request.withAutoDecompression DecompressionScheme.GZip
45
+ |> Request.withAutoDecompression DecompressionScheme.GZip
46
46
|> Request.withAutoFollowRedirectsDisabled
47
47
|> Request.withCookie (Cookie.Create("session", "123", path="/"))
48
48
|> Request.withBodyString "This body will make heads turn"
@@ -76,7 +76,7 @@ let request =
76
76
```
77
77
78
78
(with everything after createRequest being optional)
79
-
79
+
80
80
2 - The Http response (or just the response code/body) is retrieved using one of the following:
81
81
82
82
``` fsharp
You can’t perform that action at this time.
0 commit comments