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

Large XML responses in try-now cause Chrome to become unresponsive #769

Closed
colvinco opened this issue Jun 9, 2022 · 0 comments
Closed

Comments

@colvinco
Copy link

colvinco commented Jun 9, 2022

I was testing with the Swagger Pet Store example spec which has this findByStatus method, which when queried with status=available returns ~147 KB of XML. https://petstore.swagger.io/v2/pet/findByStatus?status=available

Calling that from the example in Chrome [Version 102.0.5005.63 (Official Build) (64-bit)] hangs the page.

Repro steps:

  1. Go to https://rapidocweb.com/examples/example1.html#get-/pet/findByStatus
  2. Select application/xml as the response type in the Response Example section
  3. Set status to available
  4. Click try...
  5. In Chrome, the response isn't formatted and if you click on it the page just hangs image
  6. If you instead set status=not-a-status then you get a smaller XML response because there's no matches and chrome handles that okay.
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