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

Add Content-Length header #34

Closed
wants to merge 1 commit into from
Closed

Conversation

amandasaffer
Copy link

To prevent Shopify from throwing 411 Length Required error.

To prevent Shopify from throwing 411 Length Required error.
@amandasaffer
Copy link
Author

@joshrps Please accept this? Issue discussed here: #33

@eliranm
Copy link

eliranm commented Apr 4, 2018

@joshrps Can you accept this issue? It do solve the reported problem.

@xewl
Copy link

xewl commented May 8, 2018

src/RocketCode/Shopify/API.php has yet to contain a default header of Content-Length: 0.
This mostly occurs on empty POST requests, like on:
order/[order_id]/fulfilments/[fulfilment_id]/complete.json

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants