netlify / gocommerce

A headless e-commerce for JAMstack sites.
MIT License
1.54k stars 208 forks source link

Invalid http body on /claim endpoint #189

Closed mraerino closed 5 years ago

mraerino commented 5 years ago

- Do you want to request a feature or report a bug?

Bug

- What is the current behavior?

A GoCommerce instance will log an error when the /claim endpoint is called. The operation completes successfully and the client gets a positive status code, but we don't want the error logged.

Unhandled server error: http: request method or response status code does not allow body

- If the current behavior is a bug, please provide the steps to reproduce.

Start a configured GoCommerce instance and tail logs. Call /claim

- What is the expected behavior?

No error log, if operation is successful.