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

HTTP API: HttpServletRequest.content is encode on base64 #1084

Closed
npeters opened this issue Oct 19, 2024 · 1 comment
Closed

HTTP API: HttpServletRequest.content is encode on base64 #1084

npeters opened this issue Oct 19, 2024 · 1 comment

Comments

@npeters
Copy link
Contributor

npeters commented Oct 19, 2024

To help us debug your issue fill in the basic information below using the options provided

Serverless Java Container version: 2.0.1

Implementations: Spring Boot 3

Framework version: SpringBoot 3.1.7

Frontend service: HTTP API

Deployment method: SAM,

Scenario

*read the body of HTTP POST *

Expected behavior

Get the body as byte array and ready to read

Actual behavior

Get the body as base64 byte array

Steps to reproduce

use HTTP API with a POST

npeters added a commit to npeters/serverless-java-container that referenced this issue Oct 19, 2024
npeters added a commit to npeters/serverless-java-container that referenced this issue Oct 21, 2024
npeters added a commit to npeters/serverless-java-container that referenced this issue Nov 20, 2024
npeters added a commit to npeters/serverless-java-container that referenced this issue Nov 21, 2024
deki added a commit that referenced this issue Nov 25, 2024
…Request.content-decode-base64

#1084: decode body if base64 is enable
@deki
Copy link
Collaborator

deki commented Nov 27, 2024

Change is part of the 2.1.0 release.

@deki deki closed this as completed Nov 27, 2024
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