1,922 questions
2
votes
1
answer
67
views
List<IFormFile> is null for large files
I have a C# Controller method that happily receives small files but when I try to upload a large file from the browser client, the "files" parameter is null.
I have searched the web and ...
0
votes
1
answer
98
views
JAX-RS REST API returns 200 OK immediately, but JSON body arrives delayed only on my computer
I have a JAX-RS REST API that gets live images from a camera.
The camera returns a multipart response (XML + JPEG), which I parse in the service and then return as JSON in the response.
Problem:
When ...
1
vote
0
answers
53
views
Spring boot upgrade requires csrf token for miltipart file upload post request
We upgraded our spring boot application from 2.5.14 to 3.5.5, now POST requests for multipart file upload are failing with a 403 response. This is a service to service interface, no user login is ...
0
votes
0
answers
22
views
Calculating content length of multipart request in Swift [duplicate]
URLSession apparently requires a request.contentLength parameter to send an url request to a web service.
In this case, I am attempting to send a multipart request that includes file data as well as ...
1
vote
0
answers
39
views
Why is MultipartFile.getSize() returning 0 inside try-with-resources block when reading PDF with PDFBox?
I'm trying to get the number of pages in a PDF uploaded as a MultipartFile in my Spring Boot application. I'm using Apache PDFBox 3.0.0. Here's my method:
public int getPageCount(MultipartFile file) ...
0
votes
0
answers
61
views
multipart: NextPart: EOF Error in ServiceController.CreateService, but Test Route in main.go Works
Here's a detailed description for your GitHub issue, incorporating the information we've discussed. This provides context, the problem statement, steps to reproduce, and your observations.
package ...
0
votes
0
answers
23
views
RingCentral Fax API Blank Fax
Trying to send a fax with RingCentral Fax API using Power Automate HTTP Post. Authentication is successful but I'm only receiving a fax cover page and not the actual contents of the fax. File ...
0
votes
0
answers
57
views
Sending an XML file in a multicontent POST file using .NET
I've run into some trouble trying to send a multi-content POST from a .NET application to another .NET application. In this particular example, I am receiving an XML document in a string, and then ...
0
votes
1
answer
109
views
Undertow FileUtil cut of UTF-8 characters and concatenate the two half character as a character
If my multipart post is bigger than MultipartConfigElement.fileSizeThreshold, then my post is out of a temporary file. Undertow FileUtils read it so:
public static String readFile(InputStream file, ...
5
votes
1
answer
174
views
Cannot read request body from HttpServletRequest when Content-Type is multipart/mixed
Below code handles the incoming API calls:
@RequestMapping(value = "**")
void process(HttpServletRequest request, HttpServletResponse response) throws IOException {
if (request....
0
votes
1
answer
282
views
How to customize the "413 Payload Too Large" response in Quarkus with multipart/form-data requests?
How to customize the "413 Payload Too Large" response in Quarkus with multipart/form-data requests?
I'm working with a Java 21 Quarkus (3.18.1) API that uses the quarkus.http.limits.max-form-...
0
votes
0
answers
39
views
How to send a list of files and data in a single HTTP multipart request?
I would like to send a HTTP POST request with multipart data to the server. I have both JSON and a file which I want to send in a single request. I know how to do it for a single file and a single ...
1
vote
1
answer
263
views
413 request entity too large Spring Boot
I have been creating an endpoint to which one could upload multipart files till 50MB but is throwing the 413 request entity too large error,,
It worked for small files of 500kb but sent this error for ...
0
votes
1
answer
30
views
How to get formdata file from httpserver request in flutter
In my flutter application I've created a http server using dart io. I'm uploading file from web frontend using formdata using fetch api call. On the server side(flutter) how to get uploaded file?
0
votes
0
answers
24
views
mail.mailutils and multipart messages
For forwarding mail to the client and for security reasons we encapsulate bounces and auto replies by composing them as attachment with standard tools from mailutils.
All work perfectly except if we ...