Skip to content

Commit

Permalink
Fix typo in default Content-Type header (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakharYA authored Aug 16, 2021
1 parent caec2b5 commit 6fcac41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion httprequest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ HTTPRequest::HTTPRequest(const std::string &url)
: url(url)
{
SetHeader("Accept", "application/json");
SetHeader("Content-Type", "applicaton/json");
SetHeader("Content-Type", "application/json");
}

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

0 comments on commit 6fcac41

Please sign in to comment.