Ok, will do. Thanks!

Sent from my iPad

On Nov 23, 2010, at 12:14 AM, Andrew Dunbar <hippytr...@gmail.com> wrote:

> On 23 November 2010 10:08, Anand Ramanathan <rcan...@gmail.com> wrote:
>> forgot to mention: versions : ruby 1.8.7, rails 3.0 -  but within the same
>> environment, it is intermittent... currently have been getting 'clean'
>> content for last 12 hours or so, but had bad content before...
> 
> Try getting it with the full HTTP headers too. Keep a copy of them
> from when it works to compare against when it doesn't work.
> 
> Andrew Dunbar (hippietrail)
> 
>> On Tue, Nov 23, 2010 at 12:06 AM, Anand Ramanathan <rcan...@gmail.com>
>> wrote:
>>> 
>>> I tried curl from terminal on Mac, also tried open-uri from a ruby on
>>> rails app.
>>> 
>>> On Mon, Nov 22, 2010 at 11:16 PM, Andrew Dunbar <hippytr...@gmail.com>
>>> wrote:
>>>> 
>>>> On 23 November 2010 03:07, Anand Ramanathan <rcan...@gmail.com> wrote:
>>>>> It is intermittent - sometimes I see english characters, as expected.
>>>>> Sometimes, i see some junk characters - right now getting normal
>>>>> english
>>>>> characters, so cant show a sample of the junk. But this is definitely
>>>>> happening with this page - over the last 3 days off and on...
>>>>> Will send the garbled example if and when it happens again.
>>>> 
>>>> You might be getting gzipped content sometimes. I had this issue with
>>>> certain Perl libraries. Normally you should get the content unzipped.
>>>> What programming language/framework etc have you been using?
>>>> 
>>>> Andrew Dunbar (hippietrail)
>>>> 
>>>>> Thanks
>>>>> Anand
>>>>> 
>>>>> On Mon, Nov 22, 2010 at 3:26 PM, Betacommand <betacomm...@gmail.com>
>>>>> wrote:
>>>>>> 
>>>>>> Can you define "garbled"
>>>>>> 
>>>>>> On Mon, Nov 22, 2010 at 5:17 PM, Anand Ramanathan <rcan...@gmail.com>
>>>>>> wrote:
>>>>>>> 
>>>>>>> Hi,
>>>>>>> I am not sure this is the right place for this issue, so please
>>>>>>> redirect
>>>>>>> me if there is a better forum.
>>>>>>> I have been loading the wikipedia page for India programmatically as
>>>>>>> part
>>>>>>> of testing my project. It was working fine, until recently. Now, most
>>>>>>> of the
>>>>>>> time (but not always), loading it gives me garbled content.
>>>>>>> Other pages on wikipedia work fine both programmatically and from the
>>>>>>> browser.
>>>>>>> This particular page also loads fine from my browser (safari on mac)
>>>>>>> -
>>>>>>> but when I load it programmatically (using curl or open-uri from
>>>>>>> mac-os
>>>>>>> x), the content is garbled.
>>>>>>> I am using a user agent, but don't know what changed.
>>>>>>> I tried closing the bar on top which appeared recently (Jimmy Wales
>>>>>>> message), but even without that bar, it seems to be garbled.
>>>>>>> Any suggestions?
>>>>>>> Thanks
>>>>>>> Anand
>>>>>>> _______________________________________________
>>>>>>> Mediawiki-api mailing list
>>>>>>> Mediawiki-api@lists.wikimedia.org
>>>>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> _______________________________________________
>>>>>> Mediawiki-api mailing list
>>>>>> Mediawiki-api@lists.wikimedia.org
>>>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>>>>> 
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Mediawiki-api mailing list
>>>>> Mediawiki-api@lists.wikimedia.org
>>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>>>> 
>>>>> 
>>>> 
>>>> _______________________________________________
>>>> Mediawiki-api mailing list
>>>> Mediawiki-api@lists.wikimedia.org
>>>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>>> 
>> 
>> 
>> _______________________________________________
>> Mediawiki-api mailing list
>> Mediawiki-api@lists.wikimedia.org
>> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api
>> 
>> 
> 
> _______________________________________________
> Mediawiki-api mailing list
> Mediawiki-api@lists.wikimedia.org
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

_______________________________________________
Mediawiki-api mailing list
Mediawiki-api@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-api

Reply via email to