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

[Bug]: Expose stuck on request header 'Expect: 100-continue' #428

Open
nickvleeuwen opened this issue Nov 25, 2024 · 0 comments
Open

[Bug]: Expose stuck on request header 'Expect: 100-continue' #428

nickvleeuwen opened this issue Nov 25, 2024 · 0 comments

Comments

@nickvleeuwen
Copy link

nickvleeuwen commented Nov 25, 2024

System architecture

Mac, ARM64 (M1, M2, etc)

PHP Version

8.2

Bug description

Hello,

My Expose is getting stuck when a request has a request header 'Expect: 100-continue'. The request is processed by Laravel perfectly, in the request a database record is being created fine, Laravel Telescope even logs a 200 success response. But the external application(Exact Online) that sends the request never gets the 200 success response. Because its send by an external application I have no control over the request headers being added.

When I copy the request from Laravel Telescope and send it with Postman to the same Expose url with the request header present, my postman gets stuck on 'Sending Request...', again, the request has an 200 success response according to Laravel Telescope.
When I disable the request header 'Expect: 100-continue' in Postman, the request doesn't get stuck and I receive the 200 response in Postman.

Steps to reproduce

  1. Turn on expose.
  2. Make an request in postman and set your url to your exposed url.
  3. In 'Headers' tab, add the following request header: 'Expect: 100-continue' (Key: Except, Value: 100-continue).
  4. press 'send'.

Relevant log output

No response

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

No branches or pull requests

1 participant