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

null path with no body fix. #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

null path with no body fix. #4

wants to merge 2 commits into from

Conversation

nmondal
Copy link
Owner

@nmondal nmondal commented Feb 27, 2024

Fixing the issue that when response is null, and body() is not set, 404 gets generated.
#3

@hemil-ruparel-blox
Copy link

I think we should return empty string because null is the absence of a request body. Which in our case would be an empty string

@nmondal
Copy link
Owner Author

nmondal commented Mar 12, 2024

I think we should return empty string because null is the absence of a request body. Which in our case would be an empty string

Actually I thought about it, and then it seems json string of null is "null". Hence returning null.

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.

2 participants