Gabriele Svelto · @gabrielesvelto
1418 followers · 1808 posts · Server fosstodon.org

I'm very grumpy about 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.

#http

Last updated 1 year ago

Jon Park · @jonspark
176 followers · 1863 posts · Server howdee.social

Today I Learned what an HTTP 307 does that's subtly different from other redirect responses and that a NextJS `res.redirect()` uses it by default.

The 307 redirects to the new URL with the same request method (in my case POST). I was redirecting a form submit to an OAuth authorisation URL. Switching to an HTTP 303 swaps the method to GET and has sorted things out.

Took a bit to figure that one out! 😅

Reference: developer.mozilla.org/en-US/do

#todayilearned #til #nextjs #http

Last updated 1 year ago

Tomasz Nurkiewicz 🇺🇦 · @nurkiewicz
773 followers · 336 posts · Server fosstodon.org

#rfc7807 #http #api

Last updated 1 year ago

Yaroslav Khnygin · @surabax
114 followers · 1200 posts · Server mastodon.ie

Found an interesting article through Manuel Simoni: w3.org/People/Connolly/9703-we

"HTTP was design[ed] as a distributed realization of the Objective C (originally Smalltalk) message passing infrastructure [...]
Uniform Resource Locator is just the result of squeezing the term _object reference_ through the IETF standardization process."

#smalltalk #objectivec #http #www #webdevelopment #webdev #objectorientedprogramming #oop #distributedcomputing #programminglanguages #programming

Last updated 1 year ago

Yaroslav Khnygin · @surabax
114 followers · 1200 posts · Server mastodon.ie

Whether or not is a good way to build apps; the fact that it's is composed of attrs, headers, and give big way-it-should-be vibes.

#webdevelopment #webdev #events #javascript #http #html #api #web #htmx

Last updated 1 year ago

Chris Gervais 🎸🥁💻 · @chrisgervais
228 followers · 1091 posts · Server hachyderm.io

Anyone know of an parsing library or code for classic ? After decrypting a stream I’d love to shove it into a lib that can parse it all out and let me extract the relevant bits. I found HTTP sample code for OpenTransport but not sure if that’s right path. I may also not be thinking of the problem correctly but having fun experimenting and kinda don’t want to write it from scratch

#http #macos #ssl #tcp #retrocomputing #macintosh

Last updated 1 year ago

I found it!!!

#techjoke #http

Last updated 1 year ago

robrich · @robrich
52 followers · 354 posts · Server hachyderm.io
Nils Goroll · @slink
67 followers · 553 posts · Server fosstodon.org

Does anyone know a good explainer how exactly common browsers implement alternative services (alt-srv )

httpwg.org/specs/rfc7838.html#

#http #firefox #chrome #chromium #safari #altsrv

Last updated 1 year ago

Redhotcyber · @redhotcyber
589 followers · 1804 posts · Server mastodon.bida.im
Shadow Grove · @shadow_grove
30 followers · 242 posts · Server mastodon.gamedev.place

🧭 Simple HTTP and REST Server
Version 1.6
Fix inheritance in Simple Programmatic Event Server Script
eFix error on import asset

assetstore.unity.com/packages/

#changelog #unity #indiedev #server #http #rest #gamedev

Last updated 1 year ago

Jeff Forcier · @bitprophet
652 followers · 6732 posts · Server social.coop

Doing so led me to another “how long have I 'd again?!" discovery:

- HTTP/1.1 headers are case-insensitive - everyone just does Title-Case for…reasons?
- HTTP/2 (which I confess I still mentally file as "some stupid, probably vaguely proprietary, Google shit I don't actually care about”, even though this is probably inaccurate) explicitly mandates that headers /must be lowercase/

Cue me seeing lowercase headers out of my server & going “🤨 wtf? this looks so wrong!”

#http

Last updated 1 year ago

When I got started in I used a lot of <forms> and when I learned about I wondered why there was no way to generate PUT, PATCH, and DELETE verbs from

Turns out a main goal of is to solve that!

hypermedia.systems/extending-h

#hypermedia #javascript #htmx #html #http #rest #webdev

Last updated 1 year ago

Who Let The Dogs Out 🐾 · @ashed
138 followers · 9914 posts · Server mastodon.ml
xmlns="Dan" · @divclassbutton
116 followers · 538 posts · Server hachyderm.io

So, I know nothing about network protocols, but why are HTTPS and different URL schemes? HTTP/2 and HTTP/3 are able to carry on using https:// , was it not possible for HTTPS to be implemented to use http://whatever ?

#http

Last updated 1 year ago

Stark · @Stark9837
124 followers · 2624 posts · Server techhub.social

@Floppy @vandam

So I looked into this. Allowing users to upload with , a decentralized protocol replacement for . Currently, I am benchmarking it by replacing my servers with it, just because I can for a few weeks.

can be extended to allow for some extra allocated fields, and a fork of can be made.

Users will be able to upload their designs, and hosting would be decentealized and automatically spread around all users.

It is possible. I will look into a prototype, allowing users to use a bot or something like @3dprinting to share their prints before going for a fork of . Also need to investigate existing Activity Pub solutions and would possibly use something like for the backend.

I'm still deciding on the front end.

@3dprinting

#ipfs #http #Redis #activitypub #Mastodon #go #3dprinting

Last updated 1 year ago

categulario 🐍 🦀 :manjaro: · @categulario
489 followers · 6400 posts · Server mstdn.mx

@maop @saulcast04 cada vez que escucho un nervio se me tensa y me da un calambre.

pero eso más bien es especificación no? y no es la única cabecera que viene en minúsculas.

aunque ya viste que te dio la redirección para el host de consulta pero no cambió nada en la consulta por el acct?

#ruby #http

Last updated 1 year ago

Phil Sturgeon · @Philsturgeon
2218 followers · 536 posts · Server mastodon.green

💻 Woah, I'm reviewing @Redocly CLI and I just noticed the amazing split command!

$ redocly split api/openapi.yaml --outDir output/

This will neatly split a sprawling messy description into multiple documents using $ref, reducing duplication, making it easier to work with.

Get it: github.com/Redocly/redocly-cli

#openapi #apidevelopment #apidesign #rest #http

Last updated 1 year ago

Jonathan Matthews · @jonathanmatthews
185 followers · 362 posts · Server fosstodon.org

Does repeat the mistake of in that host lookups don’t support/involve SRV records? It certainly looks like it, if the custom domain setup docs found on represent the standard Gemini hosting provider model :-( gemini://srht.site/custom-doma

#gemini #http #dns #sourcehut

Last updated 1 year ago