Multipart Form Data "RoutingContext::fileUploads"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Inizia ispezionando la gestione multipart attorno a RoutingContext::fileUploads, al body di RoutingContext, al body handler e alla mappa dei dati convalidati. Esamina o aggiungi test che coprano gli upload di file, i nomi file non vuoti di Content-Disposition, lo streaming su disco e i limiti delle dimensioni degli upload del body handler; il lavoro è completo quando questi valori e comportamenti sono disponibili senza un uso eccessivo della memoria.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Describe the feature
Multipart form data has changed quite a bit with this new strategy. I'm not sure if this is the actual plan going forward, but we're losing what I think is pretty crucial functionality from what I can tell. One of which being that files used to be streamed to disk and then available to be streamed somewhere else from the file. The other is the filename of the file uploaded in the multipart form data, which comes from the content disposition header.
Maybe this already exists through some other form, but I don't see any tests in this repo that upload file, set a nonempty content disposition or use the body handler for limiting file upload size.
Use cases
Streaming files means that there's less risk of out of memory exceptions. Also, the content disposition header is standard and being unable to access its value through some means is weird.
These are probably just not supported yet, but I find it pretty weird how many breaking changes are being introduced. RoutingContext::fileUploads and the RoutingContext body just aren't used anymore from what I can tell. The validated body has to be pulled from the data map now in the context instead.
Contribution
Who should implement this feature ? are you volunteering for implementing this feature or
do you know that is able and willing implement this feature ?
- Lingua principale
- Java
- Stelle
- 15
- Fork
- 19
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di eclipse-vertx/vertx-openapi
-
bug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
eclipse-vertx/vertx-openapi#137 · 5 commenti ·
-
Add OpenAPI 3.2 supportApertaenhancement help wanted
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
eclipse-vertx/vertx-openapi#136 · 1 commento ·
-
enhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 38/100
eclipse-vertx/vertx-openapi#122 · 4 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
eclipse-vertx/vertx-openapi#117 · 6 commenti ·
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
eclipse-vertx/vertx-openapi#93 · 1 commento ·
Tutte le issue di eclipse-vertx/vertx-openapi
Issue simili
-
staticAssetsPath follows symlinks outside the directory on WindowsForse già presa @ybelMekk l’ha presa oggi. Apertabug security findings
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
navikt/mock-oauth2-server#1132 ·
I maintainer di solito rispondono entro 1 giorno
-
agent:working follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
Sanne/incus-spawn#1683 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
checkstyle/checkstyle#22210 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
google/error-prone#6239 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Failing Test]: BigqueryClient.queryUnflattened fails BigQuery ITs on a transient 503Forse già presa @mxtymoshyk l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 77/100
I maintainer di solito rispondono entro 1 giorno