shaft, to random
@shaft@piaille.fr avatar

Internet-over-HTTP. Literally this time

#RFC 9484: Proxying #IP in #HTTP
https://www.rfc-editor.org/rfc/rfc9484.html

tbroyer, to random
@tbroyer@piaille.fr avatar

Tell me you don't understand REST and HTTP without saying you don't understand REST and HTTP.

aral, to webdev
@aral@mastodon.ar.al avatar

Today on Silly Decisions That Were Made a Long Time Ago That We Still Have to Live With…

Just got reminded that submitting an HTML form with checkboxes via POST only submits checkBoxName='on' for checkboxes that are checked and… checks notes nothing at all for checkboxes that are not.

So that’s fun.

sigh

jschauma, to random
@jschauma@mstdn.social avatar

Because I've been using it quite a bit lately and think it might be useful for some of you, here's a list of #HTTP status codes and descriptions in man page format:

https://github.com/jschauma/httpstatus

#rtfm

aral, to random
@aral@mastodon.ar.al avatar

It blows my mind that it’s 2023 and we still can’t have an anchor or a form carry out an HTTP PUT or DELETE request without using a library like htmx.

But Web DRM? Sure, we’re working on that!

smh

#web #dev #hypermedia #html #http

Edent, to fediverse
@Edent@mastodon.social avatar

🆕 blog! “I made a mistake in verifying HTTP Message Signatures”

It's never great to find out you're wrong, but that's how learning and personal growth happens. HTTP Message Signatures are hard1. There are lots of complex parts and getting any aspect wrong means certain death2. In a previous post, I wrote A simple(ish) guide to verifying …

👀 Read more: https://shkspr.mobi/blog/2024/03/i-made-a-mistake-in-verifying-http-message-signatures/

#ActivityPub #CyberSecurity #http #security

peterrenshaw, to webassembly
@peterrenshaw@ioc.exchange avatar

“WASI Preview 2: What WebAssembly Can and Can’t Do Yet”

light on technical details, worthy as a ‘heads-up’, quick read.

/ / / / <https://thenewstack.io/wasi-preview-2-what-webassembly-can-and-cant-do-yet/>

reiver, to fediverse
@reiver@mastodon.social avatar

I have never really liked that with the #HTTP protocol, that if you give it a different "Accept" HTTP request header, that it is idiomatic to get back a different response in a different format.

In practice, #Fedivese software makes use of this b/c of #ActivityPub

For example, using curl —

This will give you back HTML

curl -H "Accept: text/html" https://mastodon.social/@reiver/109280772735288142

But this will give you back ActivityPub activity JSON

curl -H "Accept: application/activity+json" https://mastodon.social/@reiver/109280772735288142

image/png

shaft, to random French
@shaft@piaille.fr avatar

1ère fois que je tombe sur un code #HTTP 451 (RFC 7725) qui ne soit pas un exemple fabriqué pour l'occasion

$ curl -I https://youtube-dl.org/
HTTP/2 451
...

« La justice allemande fait fermer le site de Youtube-dl » (Accès abonné)
https://www.nextinpact.com/article/72247/la-justice-allemande-fait-fermer-site-youtube-dl

paulox, (edited ) to memes
@paulox@fosstodon.org avatar

RT @htmx_org

So is anyone actually using htmx or what?

reiver, to SmallWeb
@reiver@mastodon.social avatar

1/

One reason that HTTP(S) came to dominate application development is —

A lot of firewalls block all Internet traffic that isn't HTTP(S) — i.e., that isn't sent over TCP port 80 or 443.

That presents a problem for small-net protocols.

Will they in practice "work" for most people — will they be accessible by most people — given so many firewalls block non-HTTP(S) traffic‽

Should small-net protocol developers even care‽

bagder, to random
@bagder@mastodon.social avatar

The #Gemini protocol seen by this #HTTP client person https://daniel.haxx.se/blog/2023/05/28/the-gemini-protocol-seen-by-this-http-client-person/ -

tldr: I think they have some improvements left to do.

gabrielesvelto, to random
@gabrielesvelto@fosstodon.org avatar

I'm very grumpy about #HTTP response status code 429 AKA "Too many requests".

It tells you absolutely nothing except that you've been sending too many requests. Sure, but how many are too many? Trial-and-error only gets you so far, and if things change down the line you're back to square one.

I wish we had a way to ask for throttling limits - or even better - if the server-side would respond slowly instead, until you're back below the limit.

wyri, to php
@wyri@haxim.us avatar

New PC who this! Gave the @reactphp #HTTP Hello World a quick benchmark, clocks in at nearly 70K requests per second with 100 concurrent keep alive connections on a single #PHP process:

Edent, to fediverse
@Edent@mastodon.social avatar

🆕 blog! “HTTP Signature Infinite Loop?”

I'm trying to get my head round HTTP Signatures as they're used extensively in the Fediverse. Conceptually, they're relatively straightforward. You send me a normal HTTP request. For example, you want to POST something to https://example.com/data You send me these headers: POST /data Host: example.com Date: Sa…

👀 Read more: https://shkspr.mobi/blog/2024/02/http-signature-infinite-loop/

#ActivityPub #CyberSecurity #encryption #fediverse #http

aral, to linux
@aral@mastodon.ar.al avatar

It’s bloody 2024, think we can agree on either wget or curl being installed by default on every freaking operating system by now so shell scripts can have a guaranteed way of carrying out http requests?

I mean it’s been about 35 years. I think it’s about time.

kushal, to random
@kushal@toots.dgplug.org avatar

Did you ever write any application over Unix domain ? If yes, then can you please tell me about the usecase?

Please boost for more reach.

swiefling, (edited ) to security
@swiefling@hci.social avatar

Privacy matters! But what if the tools meant to protect us are being misused? Our latest study (to appear ARES '24) reveals surprising facts about HTTP Client Hints (HTTP CHs) on the Web. [THREAD]

Paper + Website: https://rbainfo.org/clienthints

ainmosni, to tech
@ainmosni@berlin.social avatar

Maybe I'm an old grumpy #tech guy, but I really don't like massive complicated frameworks that abstract away well known protocols like #HTTP, #GRPC, etc.

I already know those, I can easily write code that does those, why do I have to learn the convoluted #framework way of doing things that would be 10 seconds work if I could just access the basic http library underneath?

Edent, to random
@Edent@mastodon.social avatar

What useful or interesting #HTTP headers do you have on your personal website?

I have:
Permissions-Policy: browsing-topics=()
(https://developers.google.com/privacy-sandbox/relevance/topics/developer-guide#site-opt-out)

X-Clacks-Overhead: GNU Terry Pratchett
(http://www.gnuterrypratchett.com/)

But that's it. Anything fancy or cool or helpful I should add?

schizanon, to webdev

Does include ? If so, how does one deliver over a ?

frankel, to random
@frankel@mastodon.top avatar

Per Resource Events: minimal protocol built on top of #HTTP that allows clients to receive notifications directly from any resource of interest

https://datatracker.ietf.org/doc/draft-gupta-httpbis-per-resource-events/

shaft, to random
@shaft@piaille.fr avatar

Oh dear.

“This document describes a mechanism for creating, encoding, and verifying digital signatures or message authentication codes over components of an message”

9421: HTTP Message Signatures
https://www.rfc-editor.org/info/rfc9421

Pol, to Cybersecurity
@Pol@mathstodon.xyz avatar

🚀 Exciting News from Belgium🇧🇪! 4 days ago, a team of researchers has published a paper on a new implementation of SSH over HTTP/3.

📄 Discover their findings and dive into the technical details here: https://arxiv.org/abs/2312.08396

Find the Go implementation at: https://github.com/francoismichel/ssh3

kornel, to random
@kornel@mastodon.social avatar

content negotiation has some unwritten rules for images. Accept: image/png, */* technically allows image/avif, but that’s not a wise interpretation.
Except what a caching proxy is supposed to do when the origin only sends AVIF?

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines