Masthash

#HTTP

Neil Craig
2 days ago
Hacker News 50
3 days ago

Show HN: Codespelunker – A command line search tool with TUI and HTTP modes

Link: https://github.com/boyter/cs
Discussion: https://news.ycombinator.com/item?id=36193054

#http

randomMDN
3 days ago

Greetings to all #JavaScript #HTML #CSS #SVG #HTTP #Accessibility #webdev #mdn developers and enthusiasts.

I'm a bot, and every sixth hour I'll randomly pick an article for you from 'mdn web docs'¹.

Alternatively, you can subscribe to the RSS feed², see my GitHub repo³ for any other options and information.

Live long and prosper 🖖

[1] https://developer.mozilla.org/en-US/docs/Web
[2] https://botsin.space/@randomMDN.rss
[3] https://github.com/jaandrle/randomMDN

Xavier Lacot
4 days ago

🆕 Introducing the Aggregated Logs Details Panel, a new way to analyze your most frequent requests ➡️ https://redirection.io/news/improvement/introducing-the-aggregated-logs-details-panel-explore-your-traffic-logs-with-ease #HTTP #Traffic #logs

Nicolas Delsaux
5 days ago

Une expérience intéressante de serveur de domotique, écrit en lua tournant sur un raspberry. Il y a là-dedans 2 ou 3 idées dont je pourrais me resservir par ailleurs. https://renato.athaydes.com/posts/writing-your-own-smarthome-manager.html #lua #domotique #raspberrypi #server #http #opensource #hack

元々単にApacheと呼ばれてた経緯があるから、自分もApacheって言っちゃうけどw
記事だったら、仮に略すのでも

Apache HTTP Server(以下Apache)

みたいな書き方しないといけないですね〜
#Apache #HTTP

Sandor Szücs
1 week ago

OpenSSF Scorecard 8.1 is very good for https://github.com/zalando/skipper as far as I see other http proxies. We seem to be ahead.
#golang #http #proxy

randomMDN
1 week ago

🦖 Proxy servers and tunneling 🦖

https://developer.mozilla.org/en-US/docs/Web/HTTP/Proxy_servers_and_tunneling

When navigating through different networks of the Internet, proxy servers and HTTP tunnels are facilitating access to content on the World Wide Web. A proxy can be on the user's local computer, or anywhere between the user's computer and a destination server on the Internet. This page outlines some basics about proxies and introduces a few configuration options.

#webdev #HTTP

randomMDN
1 week ago

Greetings to all #JavaScript #HTML #CSS #SVG #HTTP #Accessibility #webdev #mdn developers and enthusiasts.

I'm a bot, and every sixth hour I'll randomly pick an article for you from 'mdn web docs'¹.

Alternatively, you can subscribe to the RSS feed², see my GitHub repo³ for any other options and information.

Live long and prosper 🖖

[1] https://developer.mozilla.org/en-US/docs/Web
[2] https://botsin.space/@randomMDN.rss
[3] https://github.com/jaandrle/randomMDN

Chris Trottier
1 week ago

It's not worth bemoaning that #ActivityPub is, in fact, an open protocol.

And this is because it's not worth bemoaning that
#SMTP is an open protocol. Or Hypertextual Transfer Protocol (#HTTP) is an open protocol.

Or for that matter that anyone can use these protocols as they see fit.

Do I like every use of these protocols? Not at all. We can't always have good things because shady assholes insist on exploiting the open web for their own greed.

The trade off is that we get to have an open web.

Now occasionally, I get people popping by who tell me, "Screw you! I don't care about an open web! I just want to keep my community intact!"

But the only reason your community exists is because we have open protocols.

If you don't think so, find me all those thriving communities still using AppleTalk or IPX/SPX. Wait. There aren't any.

And that's because the only entities that have bothered with a *closed, proprietary* protocol happen to be for-profit corporations that have largely discontinued them due to -- again, wait for it -- the prevalence of open protocols.

Which brings us to a further problem.

You can't use an open protocol while simultaneously pushing for it to be closed. The
#W3C already validated ActivityPub. The proverbial cat is out of the bag.

So yes, corporations will adopt ActivityPub. That's already happening.
#Meta, #Automattic, #Medium, #Flipboard -- many more to come -- are developing for it.

But openness also means
you can build upon it. You can create your own thriving communities. And some of these communities can be private if you so choose.

Just as it's possible for you to build your own newsletter or publish your own webpage, it's possible for you built your own
#Fediverse server.

You see, openness cuts both ways.

Jan Andrle
1 week ago

I wonder what you think. Where would be the best place for randomMDN, a bot posting random articles from MDN docs?

https://github.com/jaandrle/randomMDN

…as bonus, there will also be RSS export¹.

#webdev #JavaScript #CSS #HTML #SVG #HTTP #Accessibility

[1] https://derekkedziora.com/notes/20221112094802
PS: ping @stefan

Simon
1 week ago

In a micro service architecture, how do you handle failed calls to a service you depend on?
We did a hasty implementation that responded with a 504, but that gives unintended consequences in the client. Now we're back to just bailing with a 500 and an error message telling the caller that we couldn't reach a dependency. These are mostly internal APIs.
#microservice #development #architecture #http

Snyk
2 weeks ago

#HTTP response headers represent potential attack vectors 💥

...But!

We can also use them to control caching, specify the type of content returned, and prevent attacks like cross-site scripting (XSS) and clickjacking.

Find out how in this blog post!

https://snyk.co/ufKyn

Nicolas Fränkel
2 weeks ago

I’m continuing my journey on getting more familiar with #HTTP #APIs by reading related #RFCs. This time, I read the #HealthCheck Response Format for HTTP APIs on the suggestion of Stefano Fago. In this post, I’d like to summarize my reading.

https://blog.frankel.ch/healthcheck-http-apis/

daniel:// stenberg://
2 weeks ago

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.

Pallvi Ratwan
2 weeks ago

@TeamYouTube Channel link - @pallviratwan8989" rel="nofollow noopener noreferrer" target="_blank">https://youtube.com/@pallviratwan8989" class="u-url mention">@pallviratwan8989
I also shared the link which I found from Gmail -
#http://i.ytimg.com/vi/i-YAyU9VC_I/mqdefault.jpg" rel="nofollow noopener noreferrer" target="_blank">https://ci5.googleusercontent.com/proxy/f14Aa1Ekv_kQJYKJg3sw_gZMde1m2-pZS5UKVe3kYGH3_KJGe01_w4tJH4rasNmLBv8v_YUaITdA1my7EfdDzuoe=s0-d-e1-ft#http://i.ytimg.com/vi/i-YAyU9VC_I/mqdefault.jpg
Plz recover it

Hacker News 50
2 weeks ago

REST Quiz: What is the proper #HTTP verb for modifying an existing resource?

Kingsley Uyi Idehen
2 weeks ago

How to use #SQL query templates to fine-tune #ChatGPT.

https://community.openlinksw.com/t/howto-fine-tuning-chatgpt-using-sql/3862

All possible because of the underlying architecture of our multi-model #VirtuosoRDBMS equipped with native #HTTP support.

#SemanticWeb #SPARQL #DBMS #RDBMS #LinkedData #CDO #CIO #CTO #AGI

SQL Query solution that includes live local super-keys for RDBMS exploration.
2 weeks ago
Leon Brocard
2 weeks ago

How might our use of the HTTP Host header change in the future?
#http

Hacker News 50
2 weeks ago

Nginx 1.25.0: experimental HTTP/3 support

Link: http://nginx.org/en/CHANGES
Discussion: https://news.ycombinator.com/item?id=36047524

#nginx #http

Nicolas Fränkel
3 weeks ago
Franz
3 weeks ago

All #browser vendors should form a cartel to drop support for unencrypted #HTTP by the end of this year. And we should not accept complaints and whining - Let's Encrypt has been around for over 7 years now. You have had enough time.

SoftwareMill
3 weeks ago

Have you ever struggled with your application timing out its responses?

#Development
#HTTP
#AppDevelopment

https://softwaremill.com/oh-no-timeout/

Shadow Grove
3 weeks ago

🧭 Simple HTTP and REST Server
Version 1.3 Changelog

- Add Getting Start window
- Add Review Reminder window

https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=mastedon

#unity #unity3d #asset #changelog #update #http #api #server

Vedran M. 👨‍💻
3 weeks ago

I know nothing on memory optimization for a WordPress site /w cpanel based VPS hosting.

I pushed all posible mem limits and yet php files (even admin dash load) die with #HTTP 500 cannot allocate mem error in apache log. Also I dont see overall srv mem rise after rising limits everywhere I knew (#PHP settings, php.ini in wp-admin, wp-config mem limits…).

Any #wordpress gurus here to #help me out?

I dont have ssh access and I have 400 MB spare left.

Im gonna try disabling all plugins first.

Nils Goroll
3 weeks ago

do browsers support alt-svc: http/1.1="..." ?
#http @mnot

Shadow Grove
3 weeks ago

🧭 Simple HTTP and REST Server Update
Version 1.2 Changelog

- Handle cors requests in simple event server script
- Fix nullable warning in HttpListenerRequestExtension.cs
- Fix file id confilcts with other shadow grove files

https://assetstore.unity.com/packages/tools/utilities/simple-http-and-rest-server-244127?utm_source=mastedon

#unity #asset #update #changelog #unity3d #assetstore #web #http #rest #server #gamedev #indiedev

Einenlum
3 weeks ago
Nicolas Delsaux
4 weeks ago

Ça m'a l'air très très intéressant ce petit jeu, qui fonctionne uniquement avec une api http https://spacetraders.io/ #http #game #web #programming

genstar.service
4 weeks ago

I've made a basic HTTP version of my site because I couldn't figure out where to get a SSL certificate that was still working with Nintendo 3DS and 2DS consoles. So I went through the route to get another static site provider that still offered unauthenticated HTTP.

#SSL #HTTP #HTTPS #Nintendo3DS #3DS #Nintendo2DS #2DS #Website #Webpage #Certificates #TLS

Paolo Amoroso
4 weeks ago

This HTTP server is written in, um, PostScript:

https://www.pugo.org/project/pshttpd

#PostScript #http

Space Hobo Actual
4 weeks ago

The #HTTP 418 response is in the 4xx client error section, meaning it's YOUR fault that I'm a teapot.

I'm not mad, just disappointed. You really should have tried harder.

Hacker News 50
1 month ago

Hyper – A fast and correct HTTP implementation for Rust

Link: https://crates.io/crates/hyper
Discussion: https://news.ycombinator.com/item?id=35920773

#rust #http

postmodern
1 month ago

Do people still use Server-Sent-Events (SSE)? Or HTTP/2.0? Or are WebSockets still the go-to option for streaming updates?
#sse #http2 #websockets #http

Leon Brocard
1 month ago

Entity tags in HTTP can improve website performance but are often misused. I dig into how ETags are used on the web and offer tips for optimizing their implementation:
https://www.fastly.com/blog/etags-what-they-are-and-how-to-use-them
#http #web

Kingsley Uyi Idehen
1 month ago

#SPASQL is how our #VirtuosoRDBMS enables declarative operations on data organized as tables or graphs via #SPARQL inside #SQL.

What are the benefits?

[1] Ubiquitous Data Source Names (#DSNs), courtesy of #HTTP

[2] Fine-grained entity relationship graph comprising clickable edges and nodes that function as #SuperKeys

#ChatGPT knows SPASQL too!

https://community.openlinksw.com/t/howto-using-chat-gpt-to-generate-enhanced-sql-and-sparql-cheatsheets/3818/2#sparql-inside-sql-spasql-example-1

#SemanticWeb #LinkedData #GraphDatabase #DBMS #RDBMS #CDO #CIO #CTO #DataOps #DBpedia #LODCloud #KnowledgeGraph #HowTo

Aral Balkan
1 month ago

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*

#web #dev #checkboxes #http #POST #html

Jons Mostovojs
1 month ago

After writing `yes | sed 's#.*#http://localhost#'`, #LLM has suggested:

> why not `yes "http://localhost"`

#TIL yes can be used like this.

#howto

postmodern
1 month ago

What HTTP library do people use for downloading files? I need to also follow redirects; because apparently GitHub release URLs actually redirect to some weird custom S3/AWS.
#ruby #http

Leon Brocard
2 months ago

The RFC states that time travel MUST NOT be allowed... and yet:
Last-Modified: Fri, 31 Dec 9999 23:59:59 GMT
#http

Leon Brocard
2 months ago

And my favourite is:
Last-Modified: Invalid Date
... which was seen on 119 responses from the #httpArchive 2023-04-01 mobile run.
#http

Leon Brocard
2 months ago

Last-Modified: GMT
#http

Leon Brocard
2 months ago

Last-Modified: undefined
#http

Leon Brocard
2 months ago

Last-Modified: $lastModifiedString
#http

Christopher Paun
2 months ago

@Mastodon
It is worth noting that you need an #HTTPS-link for the #verification.
A simple #HTTP-link to a vintage homepage won’t do the trick.
https://docs.joinmastodon.org/user/profile/#verification

jbr
2 months ago

Does anyone know if http/1.1 connection reuse is supposed to be per-origin (pre-dns) or per-resolved-ip-and-socket? That is, if two url origins resolve to the same ip and port, is it legit to send keepalive http requests against both url origins on the same tcp connection? rfc7230 talks about connecting to origins as if the dns resolution step didn't exist, but I can't tell if that means I'm supposed to pool by pre-dns origin #http

Matthew Graybosch
2 months ago

@anildash The problem I have with #ActivityPub as the operator of a #static #personal #website is that I while I might be able to generate an #outbox #feed with shell scripts the rest of the Fediverse can't do anything with it, and there's no way I can fetch the equivalent #inbox for local processing.

No, I have to run a server that talks #ActivityPub instead of just being able to do stuff locally and push to my #HTTP server.

Quick Question about #HTTP #forms and @enhance_dev :

If I have a page with a signin form called "/auth" and an API route called "/login" that the form POSTs to but the user supplied the wrong password, I want to respond with a 400 status, but also redirect the user back to the form.

return {status: 400, location: '/auth', json: {error: 'some error'}};

^ this displays the /login page with an error

#backend #htmlForms #webDev #web #js #javaScript

GMate8
2 months ago

Did you know, it's now possible to fingerprint by HTTP/2?

On Firefox, I recommend you to disable the protocoll until we find a solution to either spoof it or break the fingerprinting method. It works even without #javascript.

The whitepaper 👉 https://www.blackhat.com/docs/eu-17/materials/eu-17-Shuster-Passive-Fingerprinting-Of-HTTP2-Clients-wp.pdf

#privacy #fingerprinting #infosec #opsec #cybersecurity #http #http2 #browserleaks

Test yourself at https://browserleaks.com/http2

jbr
2 months ago

Does anyone know if there's a valid character/byte sequence that a http 1.1 client can send *between* keepalive requests to test whether the tcp connection is still open? Can I just send `"\r\n"` intermittently?

#http

@maxandersen Oh, and do you remember the days when #Maven central was serving JAR files using unencrypted #HTTP (without #SSL/#TLS)? With simple Man-in-the-middle proxy you could inject any code to any #Java dependency... https://max.computer/blog/how-to-take-over-the-computer-of-any-java-or-clojure-or-scala-developer/

most of my talks are conceptual and/or storytelling. this year i'll be doing more code-centric talks w/ the #HyperLANG and #HyperCLI tooling i created a couple years ago.

join me at #GOTOChgo using promo code “mike10” for 10% off: https://gotochgo.com/2023

we'll explore "Programmingthe Web w/ HyperLANG and HyperCLI"

#api360 #cli #http

the words "Programming the Web with HyperLANG and HyperCLI" along with "Mike Amundsen @mamund" superimposed on a background shot of a 1960s-style 80 column programming card
Chris Minnick
2 months ago

My latest (and greatest) book, JavaScript All-in-One For Dummies, is available now!

Every junior developer or aspiring JS developer needs this book, imho.

The book teaches modern #JavaScript, how browsers work, using #VSCode like a pro, #Git, #prettier, #eslint, #vite, #webpack, #react, #vue, #svelte, #http, #jest, #node, #express, #mongodb, #mongoose, and finishes with a chapter on authentication with #jwt.

It took me 6 months to write and is over 800 pages.

https://amzn.to/3GIMRGX

daniel:// stenberg://
2 months ago

#HTTP version distribution - Firefox beta 113 - April 2023

Jens Bannmann
2 months ago

Does anybody here use the #MSGraph API for accessing #OutlookCom / #ExchangeOnline?

Deleting events via my app used to work fine. However, ~8 weeks ago, MS Graph started including a "Transfer-Encoding: chunked" header in its "204" responses. The event is still deleted, but my #HTTP client rejects the response because it violates RFC 9112.

If you know the reason, can confirm/refute what I see, or get #Microsoft to notice my Q&A post, I'd be very grateful!

Details here: https://learn.microsoft.com/en-us/answers/questions/1205295/why-does-event-deletion-respond-with-transfer-enco

daniel:// stenberg://
2 months ago

Here's a recent internet-draft proposing the addition of a new #HTTP header for reporting carbon emissions: Carbon-Emissions-Scope-2. https://datatracker.ietf.org/doc/draft-martin-http-carbon-emissions-scope-2/

Evert Pot
2 months ago

note that I am not the author! #carbon #climatechange #http

Khalid ⚡
2 months ago

The #JetBrains #HTTP Client also supports cryptographic APIs so you can hash values in your request.

Many #APIs require the hashing of values on each request. #development

HTTP client with cryptography usage.
Kingsley Uyi Idehen
2 months ago

@evan @Mastodon @mike Yes, that's fine too. Developers can work with #API abstractions for specific programming languages or directly at the #HTTP protocol level -- just like in the world of #email as demonstrated by #GMAIL (courtesy of its support for #IMAP4)

My #website is served on #HTTP3; you can't tell me NUTHIN'!!! #webDev #http #web

postmodern
3 months ago

Is there some kind of standardized or defacto format for logging *full* HTTP requests? Preferably something that supports appending to a log file so it can be watched with `tail -f`. Or somehow write into a directory to allow watching with `watch ls path/to/dir`.
#http #logging

Dominik Schilling 🌊
3 months ago

Using a cache plugin on your WordPress site and have the ActivityPub plugin activated? You may want to check if it properly handles content negotiation otherwise your users may see some weird content!

Read more about that and a possible solution for the zero(ish)-config cache plugin Surge in 👇

https://dominikschilling.de/notes/http-accept-header-wordpress-cache-activitypub/
#wordpress #cache #http #codesnippet #activitypub

Jon Udell
3 months ago

@jordanwb @allenwb Hey @jordanwb let me know if there's anything I can help with.

One thing to know is that while the suite of API plugins is comprehensive, you don't always need a plugin because Steampipe is also ... an HTTP client!

https://steampipe.io/blog/steampipe-is-an-http-client

#steampipe #http

Ænðr E. Feldstraw
3 months ago

#NGINX and other #HTTP servers will throw a fit if a client sends 1000 requests, and literally tell the client to go away. In the #java programming language, the #HttpClient built into the #jdk throws an IOException, without any further specialization. The #Jetty client for HTTP/2 does throw a specific error and also indicates the lost frame ID, for easy resumes. I guess we could switch clients, or I could find a nice way to catch this error and resume communications. Any suggestions?

Ænðr E. Feldstraw
3 months ago

Today I was reminded that HTTP/2 servers can deny communication quite unceremoniously by sending back a #GOAWAY signal. What do you do to resume communication? Simply retry the request? Or also refresh the #HTTP client that makes the requests?

gemma lynn
3 months ago

i just chased down the dumbest bug. the DUMBEST. even fixing it was dumb. dumb all around.

psa #http headers are case-insensitive by definition