Skip to content

Commit

Permalink
Merge pull request #75 from kylef/patch-1
Browse files Browse the repository at this point in the history
[README] Use `application/json`
  • Loading branch information
AliSoftware committed Dec 2, 2014
2 parents 89572f1 + ba8e519 commit 347541f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ It works with `NSURLConnection`, new iOS7/OSX.9's `NSURLSession`, `AFNetworking`
// Stub it with our "wsresponse.json" stub file
NSString* fixture = OHPathForFileInBundle(@"wsresponse.json",nil);
return [OHHTTPStubsResponse responseWithFileAtPath:fixture
statusCode:200 headers:@{@"Content-Type":@"text/json"}];
statusCode:200 headers:@{@"Content-Type":@"application/json"}];
}];

### [More examples](https://github.com/AliSoftware/OHHTTPStubs/wiki/Usage-Examples)
Expand Down

0 comments on commit 347541f

Please sign in to comment.