search for: livehttphead

Displaying 14 results from an estimated 14 matches for "livehttphead".

2007 Jul 23
4
Design ideas
I''m trying to use mechanize against a site that has four fields in the form. However, those four fields have to be filled in order. So putting something in field one, populates the second field drop down. So I''m thinking that I''ll probably have to call the page multiple times? What sort of things should I be doing to figure out how to interact with this page.
2007 Oct 26
2
Post problems
Hello, I''m having trouble using mechanise to post a form. I took a wireshark capture of the form being submitted by firefox and by mechanise. In both there is an HTTP Post and then a ''continuation of non-http traffic'' packet. The obvious difference is that the firefox continuation packet has some http metadata (I don''t know the proper terminology) where the
2007 Apr 03
2
Scraping and saving.
Hi, I''m working to scrape and save some ebooks. Mechanize has been wonderful so far. The link I''m having trouble with is this one. http://www.webscription.net/SendZip.aspx?SKU=0671578499&ProductID=379&format=H When I click that in the browser it saves it to a file named H_1632.zip. How do I get that name from the page. I suspect to save this to a file I would just do
2007 Oct 04
2
newbie question with login form
hi, i''m just starting to work with this incredible tool... but i got a first problem with the login process i''m logging on my app like this : ------ @agent = WWW::Mechanize.new { |a| a.log = Logger.new("mech.log") } @agent.user_agent_alias = ''Mac Safari'' @page = @agent.get("http://myappAdress/") @form = @page.forms.first
2006 Apr 28
3
persistent cookies
hello, I am trying to implement a "remember be" box for logins, however I cant seem to get it to work. I have tried the following 2 methods but neither seem to work. When i check the expiry time in firefox it always says "end of session". What is the proper way to handle this so the session cookie "_session_id" doesnt expire for a year? I tried
2005 Aug 05
4
Dev Tools
What tools does everyone use to develop? Are there any tools to see what is going to and coming back from and Ajax call that can be plugged into firefox? -- Eric Fleming efleming@gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050805/55f7e02e/attachment.html
2005 Aug 03
2
Ajax in prototype.js
Can someone please explain to me what I need to do to create an Ajax class using the prototype lib. Thanks, Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/2f662bb3/attachment.html
2006 Nov 07
5
mechanize: 400 Bad Request
...with "***", where I see possible differences in the URI. But I don''t know, if this is the reason for the malfuncion and how to fix this. mechanize: Net::HTTP::Get: https://www.frankfurter-fondsbank.de/../diverse/navigation.jsp;jsessionid=CdEfG!-34567!-7654?menu=1 firefox-LiveHTTPHeaders: GET /diverse/navigation.jsp;jsessionid=AbCdE!-1234!-5678?menu=1 HTTP/1.1 Thank you for any help! Axel axel ? friedrich ? _smail AT gmx ? de Details ??????? ruby 1.8.4 (2005-12-24) [i386-mswin32] Windows 98SE Code ???? require ''rubygems'' require ''mechanize...
2011 Jan 13
2
send_file works on Rails2,SSL - except for IE7/6
...en Microsoft seems conflicted about which HTTP Headers should be used when, and few are specifically talking about SSL (but MS''s KB says SSL headers are treated differently)... One thing that worries me is that Cache-Control, Pragma, and a couple others never show up in Firefox''s LiveHTTPHeaders when we or send_file set them. I''m only certain they''re set because RSpec tests verify them. While it seems that checking IE''s internet option "Do not save encrypted documents..." lets the downloading happen for at least some of the severe errors (B), that...
2006 May 10
2
Output Compression in Mongrel?
I''d like to implement output compression in Mongrel (ala Apache''s mod_deflate). I have found a Rails plugin that, with minor modification, works. Is there even an advantage to moving the output compression from the Rails app to a Mongrel handler? Unless, of course, someone knows how to configure mod_proxy_balancer with mod_deflate... == Will Green Web Developer & IT
2006 Dec 07
6
Response To Form Submission Hanging
Hello, I am using Mechanize to post a form to a website. When I do this by hand in my browser the response takes about 35s to come back (it''s a long page full of tables and graphics). When I do this with Mechanize, the server starts to respond and then appears to hang. The obvious conclusion is that my code is wrong but I am reasonably sure that I haven''t altered it
2006 Apr 16
9
''depot'' app, where''s session?
Many of you probably know the ''depot'' app from the ''Agile Rails development'' book. I have constructed the ''products'' model, the Store-controller, and the ''Cart'' and ''Line Item'' classes. I have told Application-controller about :cart and :line_item: model :cart model :line_item Here''s part of
2008 Jun 06
2
Messy Cookies
...hich currently is in #service) from #call to Base#to_a. So even if you''re not using Rack, you need to call #to_a in order to clean things up. The code is available in the proper_cookie-branch: http://github.com/judofyr/camping/commits/proper_cookies I''ve tested it with Firefox + LiveHTTPHeaders and it seems to work fine. If anyone spots a bug, please comment on a commit (or scream out on IRC)! Oh, and _why has to decide if we should make the session-system completely XSS-proof, or be a little more relaxed. It doesn''t have to be XSS-proof as long as you keep the cookies secret...
2006 Sep 11
8
fckeditor works, but i cant get my buttons back...
I am going to bet this is a mongrel issue,because this doesn''t happen under webrick. Anyway, I was able to get fckeditor: http://www.fckeditor.net/ to work under rails: http://www.joshuamcharles.com/xhtml/fckrails.php i even saw the part about adding "1. Adding a YAML configuration file. For example, create $(RAILS_ROOT)/config/mongrel_mime.yml with the contents: xml: