#ZegnatTurned out, this time, no. aaronpk is looping curl requests himself to figure out the redirect path, while my brainstorm should be able to pull the path from curl itself. Time to get implementing
jeremycherfas joined the channel
#aaronpkZegnat: I couldn't figure out how to use any existing libraries to give me the url stopping at a temporary redirect
[matthilt] joined the channel
#aaronpkI did find something that would return every http request along the way but that seemed harder for some reason
#ZegnatI am going to have it return the entire path it walked to get to the final resource.
#ZegnatTesting with it now. Maybe I’ll PR on p3k http, aaronpk, so you can take a look
#aaronpkMake sure you include each http code along with the url
#ZegnatThat’s what I am testing right now if it is possible, aaronpk :)
#Zegnatskippy: permanent redirects “rewrite” a URL, so if aaronpk uses aaronpk.com, we can rewrite it to aaronparecki.com for indieauth purposes because it uses a 301. But if it had used a temporary redirect code, we shouldn’t rewrite because it might point elsewhere at a later date.
#aaronpkActual example of someone who wants to use their url for IndieAuth but their url is a temporary redirect elsewhere: dreev.es
Mandrake, snarfed and [snarfed] joined the channel
#aaronpkklez: a couple things. looks like your "e-content" class contains the published date which makes the date show up in the content which is kind of weird. i'd suggest moving the published abbr outside of the e-content element
#aaronpkthe URL of the author h-card inside the h-entry is "/author/federico-klez-culloca.html" and then you have a more complete h-card lower on the page with the URL "https://klezlab.it". It'd be better if those two matched, so see if you can get your home page URL https://klezlab.it into the first h-card
#klezaaronpk++ thanks, now it's just complaining that there's no photo, but that I think I can solve on my own once I decide I actually want a photo :) thanks again
#Loqiaaronpk has 140 karma in this channel (1625 overall)
#Loqi[vishae] I just tried logging in with a new browser and still got the same error message. Raw response:
HTTP/1.1 100 Continue
HTTP/1.1 401 Unauthorized
Server: nginx/1.12.2
Date: Sun, 22 Apr 2018 05:47:25 GMT
Content-Type: application/json
Transfer-Encoding:...
#aaronpkwe must have some bug with the wordpress plugin
#pstuifzandseems similar I also get the quotes around Unauthorized
#sknebelso checking that that gets properly called and what it does would be my next step
#sknebelaaronpk: by reading the source of get_current_user_id, seening that that checks a filter named "determine_current_user" and searching the inideauth plugin for that filter