Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default Accept header. #963

Closed
wants to merge 1 commit into from
Closed

Default Accept header. #963

wants to merge 1 commit into from

Commits on Jan 13, 2015

  1. Default Accept header.

    According to the documentation http://devdocs.magento.com/guides/v1.0/get-started/gs-web-api-request.html#http-headers json should be the default for Accept header but if you don't send the Accept header at all an error is thrown saying "Server cannot understand Accept HTTP header media type.", this commit intention is to make application/json the default Accept for REST requests.
    centerax committed Jan 13, 2015
    Configuration menu
    Copy the full SHA
    9aca9ca View commit details
    Browse the repository at this point in the history