sudocarlos on Nostr: Oh i see what happened. The original request receives a 307 reply and when Nostur ...
Oh i see what happened. The original request receives a 307 reply and when Nostur goes to the new location its not including the auth header
HEAD /media HTTP/1.1
Host: nostr.sudocarlos.com
Accept: */*
User-Agent: Nostur/396 CFNetwork/3826.500.111.2.2 Darwin/24.4.0
X-Content-Type: image/png
Connection: keep-alive
X-SHA-256: 08718084031ef9b9ec91e1aee5b6116db025fba6946534911d720f714a98b961
Accept-Language: en-US,en;q=0.9
Authorization: Nostr <jwt>
Accept-Encoding: gzip, deflate, br
X-Content-Length: 184292
HTTP/1.1 307 Temporary Redirect
Alt-Svc: h3=":443"; ma=2592000
Content-Type: text/html; charset=utf-8
Date: Thu, 08 May 2025 23:36:18 GMT
Location: /upload
Server: Caddy
Vary: Origin
HEAD /upload HTTP/1.1
Host: nostr.sudocarlos.com
Accept: */*
Connection: keep-alive
X-Content-Type: image/png
X-SHA-256: 08718084031ef9b9ec91e1aee5b6116db025fba6946534911d720f714a98b961
Accept-Language: en-US,en;q=0.9
User-Agent: Nostur/396 CFNetwork/3826.500.111.2.2 Darwin/24.4.0
Accept-Encoding: gzip, deflate, br
X-Content-Length: 184292
HTTP/1.1 401 Unauthorized
Alt-Svc: h3=":443"; ma=2592000
Date: Thu, 08 May 2025 23:36:18 GMT
Server: Caddy
Vary: Origin
X-Reason: missing "Authorization" header
Published at
2025-05-08 23:41:03Event JSON
{
"id": "b47abb77c4967ff07fbc24866e75741a630a58a6531033eb8b161c9b56403185",
"pubkey": "03612b0ebae0ec8d30031c440ba087ff9bd162962dffba4b6e021ec4afd71216",
"created_at": 1746747663,
"kind": 1,
"tags": [
[
"e",
"14cbc089d6c6c78bb6b4ca86d5e1ae501e22487090d98b3f7d21c3ddc0110118",
"",
"root"
],
[
"e",
"e64290d5e008c42dbf42cedc11b58b97a0d056faa631eb4ad3a8c4634b57509f",
"",
"reply"
],
[
"p",
"9be0be0e64d38a29a9cec9a5c8ef5d873c2bfa5362a4b558da5ff69bc3cbb81e"
],
[
"p",
"9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33"
],
[
"p",
"03612b0ebae0ec8d30031c440ba087ff9bd162962dffba4b6e021ec4afd71216"
],
[
"client",
"Nostur",
"31990:9be0be0fc079548233231614e4e1efc9f28b0db398011efeecf05fe570e5dd33:1685868693432"
]
],
"content": "Oh i see what happened. The original request receives a 307 reply and when Nostur goes to the new location its not including the auth header\n\nHEAD /media HTTP/1.1\nHost: nostr.sudocarlos.com\nAccept: */*\nUser-Agent: Nostur/396 CFNetwork/3826.500.111.2.2 Darwin/24.4.0\nX-Content-Type: image/png\nConnection: keep-alive\nX-SHA-256: 08718084031ef9b9ec91e1aee5b6116db025fba6946534911d720f714a98b961\nAccept-Language: en-US,en;q=0.9\nAuthorization: Nostr \u003cjwt\u003e\nAccept-Encoding: gzip, deflate, br\nX-Content-Length: 184292\n\nHTTP/1.1 307 Temporary Redirect\nAlt-Svc: h3=\":443\"; ma=2592000\nContent-Type: text/html; charset=utf-8\nDate: Thu, 08 May 2025 23:36:18 GMT\nLocation: /upload\nServer: Caddy\nVary: Origin\n\n\n\nHEAD /upload HTTP/1.1\nHost: nostr.sudocarlos.com\nAccept: */*\nConnection: keep-alive\nX-Content-Type: image/png\nX-SHA-256: 08718084031ef9b9ec91e1aee5b6116db025fba6946534911d720f714a98b961\nAccept-Language: en-US,en;q=0.9\nUser-Agent: Nostur/396 CFNetwork/3826.500.111.2.2 Darwin/24.4.0\nAccept-Encoding: gzip, deflate, br\nX-Content-Length: 184292\n\nHTTP/1.1 401 Unauthorized\nAlt-Svc: h3=\":443\"; ma=2592000\nDate: Thu, 08 May 2025 23:36:18 GMT\nServer: Caddy\nVary: Origin\nX-Reason: missing \"Authorization\" header",
"sig": "8dd64e4167d2750be301b0b194bb8eef165dddf23474b66b180b0b4ba4f09c1dc608df3657ec06610d784911556b9c2dd80b45e7f5d844c27a4f6470fd4d5c9a"
}