zlacker

[parent] [thread] 4 comments
1. mzs+(OP)[view] [source] 2023-08-15 21:05:16
No, in fact now t.co even returns an empty body with it's 301 response:

  % curl -vgsSw'< HTTP/size %{size_download}\n' https://t.co/DzIiCFp7Ti 2>&1 | grep '^< \(HTTP/\)\|\(location: \)'
  < HTTP/2 301 
  < location: https://www.threads.net/@chaco_mmm_room
  < HTTP/size 0
replies(2): >>flutas+S >>mlyle+6N
2. flutas+S[view] [source] 2023-08-15 21:12:02
>>mzs+(OP)
Firefox:

    <head><noscript><META http-equiv="refresh" content="0;URL=https://www.threads.net/@chaco_mmm_room"></noscript><title>https://www.threads.net/@chaco_mmm_room</title></head><script>window.opener = null; location.replace("https:\/\/www.threads.net\/@chaco_mmm_room")</script>
replies(1): >>mzs+d4
◧◩
3. mzs+d4[view] [source] [discussion] 2023-08-15 21:32:14
>>flutas+S
Turns-out it depends on the User-Agent: >>37139425
4. mlyle+6N[view] [source] 2023-08-16 02:49:50
>>mzs+(OP)
You didn't read the second paragraph of the comment you replied to-- which explained this exact issue before you replied "no":

> You don't see this with curl/wget because they use user agent sniffing. If they don't think you're a browser they _will_ give you a Location header. To see it, capture a request in Firefox developer tools, right click on the request, copy as CURL.

replies(1): >>mzs+D22
◧◩
5. mzs+D22[view] [source] [discussion] 2023-08-16 14:00:47
>>mlyle+6N
Indeed, sorry everyone
[go to top]