home.social

#httprequest — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #httprequest, aggregated by home.social.

  1. is a request for .

    HTTPRequest implements a straightforward HTTP request interface that supports both IPv4 and IPv6. Sending data is very straightforward, and can be sent as a preencoded string, or as a map which is automatically formatted into parameters. Responses and exceptions are implemented as expected.

    Website 🔗️: github.com/elnormous/HTTPReque

  2. #TodayILearned that the new #Java11 #java.net.http #HttpClient and #HttpRequest are not equipped to handle multipart/form-data out of the box. One has to generate and add their own form boundaries.

    This is a problem for those of us who never needed to know the #HTTP/1.1 and #Multipart RFCs by heart, and had hoped that the tools built into the programming language's ecosystem would handle common use cases.

    Which HTTP component do you use for multipart/form-data?