similar to: Slowness on PUT requests

Displaying 20 results from an estimated 20000 matches similar to: "Slowness on PUT requests"

2007 Jan 27
7
Getting elements from a web page
I am new to Mechanize and was wondering if there was a built-in method to get the elements that are on the page that are not part of a form. A couple of examples would be my banking site lists my entries and I want them to go into an array so that I can handle them. Or another site I use, does some categorization for me and I would like to manipulate it and present it differently to a user.
2006 Aug 07
3
Monitoring Rails apps?
I just had an interesting meeting with developers from other parts of my company. One of the things they said they really liked about Java- based solutions was the availability of sys-admin tools to monitor Java (probably J2EE) applications. Nothing comes to mind in the RoR camp to cover this. I''m sure there are plenty of generic tools for watching pings and log files, but is
2007 Jan 31
7
GET request works via curl, crashes from Java
[That subject line is of course a severe truncation!] I''ve got a REST request that works fine from curl but causes a mongrel error when executed from a Java program. This all worked with fine with rails 1.1.6 and webrick. I''m trying to update the app to rails 1.2.1 (I need working around_filters). I''m running in development mode with mongrel 1.01 running on macosx
2006 Jul 31
17
Ruby on Snails
I''ve been reading, hearing, and looking at blogs that state Ruby on Rails is rather slow. Coming from a VB 6 world (thank you Microsoft for killing VB because VB.NET is NOT VB) I was always told that VB was a toy or too slow. Now, I''ll easily tell you that yes VB was not a great language. It had it''s share of warts, like a lot of other languages I might add, but
2006 Sep 18
2
BUG: Possible issue with escaped hrefs
I noticed an interesting problem today when scripting against a web app. The application contained a link in it that used %20 instead of spaces. After running mechanize through the Charles debugging proxy I found that mechanize was converting %20 to %2520 (double escaping the %20). This appears to happen under both 0.5.4 and 0.6.0. Here''s a simple set of files that demonstrate
2007 Jul 15
3
rejected form not handled
Hello, I have a login form on /login.php which POSTs to /dorf1.php when access is granted and to /login.php when it is denied. require ''rubygems'' require ''mechanize'' agent = WWW:Mechanize.new() login = agent.get("http://server/login.php") form = login.forms.action("dorf1.php") form.fields[2].value = "wronguser" # login
2006 Aug 01
8
Dumb views?
Hello again! I''ve another "what would you do in this situation" question. You''ve got 6 controllers, one named base. The other 5 controllers extend base. Currently they share one layout. Your layout displays navigation. However, there are two actions inside base for which you do not want navigation displayed (index, new). Do you... a) Add logic to your layout telling
2006 Aug 10
7
Mongrel proxied through Apache won''t serve images
I followed the tutorial from Coda Hale[1] on setting up Mongrel/Mongrel_cluster and Apache to move away from my current Apache+FastCGI setup. The mongrels are all working fine, and Apache is proxying all dynamic requests through to the cluster using proxy balance. Strange thing is now, that all my images in public/images aren''t loading at all, if I access them directly I just get a
2006 Jul 10
10
IE vs Firefox -- http:// matters?
I just noticed something interesting (or not) about getting to my RoR app on the 2 browsers. I''ve tested it running Webrick or Mongrel_rails and get the same behavior. The app is at http://www.mydomain.com:myport#/app/list Specifying that complete URL works fine in both browsers. However in IE if you just specify www.mydomain.com:myport#/app/list I get page not found. In FF the URL
2006 Nov 19
3
Binary PUT requests are failing
Does anyone know why binary PUTs are causing a 500 error in Rails? Non binary PUTs are working fine. I''m trying to make a WebDAV server. I''ve tried using both mongrel and webrick. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2006 Feb 27
15
Webrick in production?
Would you bother to setup a fastcgi for a "intranet accessible" application that is like to get < 100 hits a day? David
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like
2006 Sep 26
7
Interesting mechanize difficulty
I found an interesting page today that I was trying to script against. The server returns a 404 with content and the page just works normally in firefox despite the 404. Mechanize raises an exception on it though. I''m working on a test case now.
2006 Mar 06
13
Internal Server Error - I want to cry
I got a brand new Fedora Core 4 box and was all excited to get Rails running on it. That was about two days ago. I did all the ''yum install ruby, etc. etc. etc.'', then ''gem install rails, etc. etc. etc''. I''ve tried running Rails with httpd (fastcgi and cgi), lighttpd (scgi, fastcgi, cgi), mongrel, webrick, and even ''ruby
2008 Mar 15
4
[PATCH] Get requests with non-html referers
Hey, Aaron. Looks like that get with hash params patch you checked in had some side effects. Specifically, you''re testing if a referer is a Page (mechanize.rb:171), but the referer could also be a WWW::Mechanize::File. Like if the last page loaded was xml. Here''s a patch that addresses the issue. Thanks again, Mat -------------- next part -------------- A non-text
2006 Mar 04
16
Unacceptibly slow.
I currently have a fairly simple Rails application running on FreeBSD under Apache 1.3 and normal CGI, and the performance I''m getting is alarmingly poor. I realize CGI or WebBrick are quite a bit slower than FastCGI, and I''ll probably use one of those instead when I have the time. However, I''m just curious if CGI is really supposed to be that slow, or if
2006 Jul 07
1
FYI: Manuals Site
I didn''t get much notice on #rubyonrails, so I thought I''d post here: http://manuals.rubyonrails.com/ looks pretty broken, also lots of "book not found" errors: http://manuals.rubyonrails.com/read/book/17 -Mat
2006 Nov 02
5
Adding fields to a form
Is there a decent way to add a field to a form before posting it? I haven''t tried using HPricot manipulations just yet, since I can''t ever find really solid docs on hpricot.... Form#[]= doesn''t work because it first searches only pre-existing fields. I''m investigating how to write a patch now. But I thought maybe someone here might have an idea.
2009 Jun 25
2
Bad Form?
Hi, This is my first post, I wanted to ask a quick question about "Bad Form" -- rather, am I doing something with Mechanise I shouldn''t be doing? Here''s the long and short of it - I am using Mechanize with Cucumber and RSpec to test a *ahem* Perl XML web service.. talk about technology soup, but I have it working quite well. I have an example project on GitHub that
2011 Mar 23
9
WEBrick, Passenger or Mongrel
Hi, My organization is going to set up puppet soon. We have thousands servers and desktops. Would WEBrick work well for this? Or should we use Passenger? Thanks, Haiyan -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to