Skip to content

Commit 6fcac41

Browse files
authored
Fix typo in default Content-Type header (#60)
1 parent caec2b5 commit 6fcac41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

httprequest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ HTTPRequest::HTTPRequest(const std::string &url)
2828
: url(url)
2929
{
3030
SetHeader("Accept", "application/json");
31-
SetHeader("Content-Type", "applicaton/json");
31+
SetHeader("Content-Type", "application/json");
3232
}
3333

3434
void HTTPRequest::Perform(const char *method, json_t *data, IChangeableForward *forward, cell_t value)

0 commit comments

Comments
 (0)