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

Response headers in post response script #1468

Closed
adri1g opened this issue Jan 29, 2024 · 3 comments
Closed

Response headers in post response script #1468

adri1g opened this issue Jan 29, 2024 · 3 comments

Comments

@adri1g
Copy link

adri1g commented Jan 29, 2024

Hello,
When launching a standalone request the res.getHeaders() API returns a dictionary. Everything ok.
But when launching several requests using runner on a folder the API returns a list. This is a bug.
Behavior should be harmonized and the API should return a dict all the time.
Regards,

Adrien

@helloanoop
Copy link
Contributor

@adri1g

I am unable to reproduce this. I am seeing a dict during a folder run too. Can you check if you are on the latest version v1.6.1 ?

image

@adri1g
Copy link
Author

adri1g commented Jan 29, 2024

@helloanoop I will close the issue because I cannot reproduce anymore ... (and FYI I'm working on v1.6.1)
Sorry and many thanks for your support.

@adri1g adri1g closed this as completed Jan 29, 2024
@helloanoop
Copy link
Contributor

Hey @adri1g

I think the issue happens when there is a 400 response on one of the request. See #1436
I have fixed this. It should be available in the next outgoing release.

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

2 participants