Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Re^3: get ?

by kennethk (Abbot)
on Apr 23, 2013 at 17:10 UTC ( #1030199=note: print w/replies, xml ) Need Help??

in reply to Re^2: get ?
in thread get ?

I suspect your issue is that you have a slash in your query string, and that requires an escape. What happens when you try to grab, i.e. run the example code I gave?

#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Replies are listed 'Best First'.
Re^4: get ?
by rebugger (Acolyte) on Apr 23, 2013 at 18:19 UTC

    It does not require an escape in the browser's address bar, but it could always be doing some kind of "smart" conversion to hide the inner workings from me. I'll try your example code with my query string...

    No, it still doesn't work. Both the escaped and non-escaped versions work in the browser, but neither work from the get call. I can download other pages using get, and it's not having problems with other 'query' URIs with slashes in the query part of them, so I am thinking it is something on the server end.

    After some further testing, nothing from that domain can be retrieved by the get command. This is a company-owned website, so I will try contacting the admin, see if there is any workaround.

      The obvious possibility here is they could be filtering your request server-side, possibly by checking your reported User-Agent. This you could spoof, but doing so might be against Terms of Service, and is likely so if they've bothered to filter for it.

      Could you share the real-world URL, either in a response or via personal message? I don't recall ever seeing a URI with a slash in a query parameter, so having access to the real case would make proper debugging a heck of a lot easier.

      #11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1030199]
[vrk]: One good word for it in Finnish is pärskäys. A very wet connotation.
[Eily]: somehow when googling pärskäys I got a pageful of Finnish :P
[robby_dobby]: Can I go participate in an YAPC?
[Eily]: (I was trying to find a translation but google translate didn't help)
robby_dobby is not entirely serious
[LanX]: ... thank God France doesn't have an electoral college...
[Eily]: LanX, let's hope it gets better for the second turn
vrk adds oatmeal cookies to the platter on the sideboard.
[LanX]: evrybody can participate in a YAPC
choroba is still undecided what to present at YAPC

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2017-04-24 15:52 GMT
Find Nodes?
    Voting Booth?
    I'm a fool:

    Results (442 votes). Check out past polls.