Displaying 20 results from an estimated 1000 matches similar to: "How many CRLFs between header and body?"
2007 Oct 23
4
Weird application/x-www-form-urlencoded bug
Hello,
I experienced a weird bug today, while implementing an AtomPub server.
I pasted all the story and bug details here : http://p.caboo.se/110125
It maybe be related to http://code.whytheluckystiff.net/camping/ticket/142 ...
I am using
- mongrel 1.0.1
- camping 1.5
Cheers,
-- 
Simon Rozet <simon at rozet.name>
2008 May 10
2
Camping-Omnibus Doesn''t Work With Ruby v1.8.6
I''ve noticed that the copy of Mongrel installed by the camping-omnibus  
gem doesn''t work with Ruby 1.8.6. Or to be more specific,  
cgi_multipart_eof_fix (which Mongrel is dependent upon) doesn''t work:
> $ sudo gem install mongrel --source http://code.whytheluckystiff.net
>
> ERROR:  Error installing mongrel:
> 	cgi_multipart_eof_fix requires Ruby version
2006 Jul 18
3
+ camping 1.4.138
Just up:
  gem install camping --source code.whytheluckystiff.net
The changes:
  * Both bin/camping and Camping::FastCGI.serve now act according to the
    Camping Server specification.[1]
  * Docs are complete.
_why
[1] https://code.whytheluckystiff.net/camping/wiki/TheCampingServer
2007 Oct 08
0
Camping-list Digest, Vol 18, Issue 1
UNSUBSCRIBE
On Oct 5, 2007, at 1:27 PM, camping-list-request at rubyforge.org wrote:
> Send Camping-list mailing list submissions to
> 	camping-list at rubyforge.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://rubyforge.org/mailman/listinfo/camping-list
> or, via email, send a message with subject or body ''help'' to
> 
2007 Mar 28
1
Pimpin'' a patch: moving the bin/camping logic to classes
Hello,
Zimbatm suggested the best way to push a patch into camping was to
take my case to the people. So here it is. If you want to jump
straight to the patch:
http://code.whytheluckystiff.net/camping/ticket/117
Goal: Move the logic in the camping command line launcher into several classes
Why? In the next version of parasite (http://parasite.rubyforge.org)
I''d like to take over
2006 Nov 25
5
Newline problem
Hello all,
Recently I have started writing some small package apps. The main app
I''m working on at the moment is Camping/Photos[1].  Here I use
a controller to serve static files (Theme[3]) that I have copied from [2].
There seems a problem however, when using this via lighttpd.  All files
that get served (via photos-dispatch.rb) get an extra ''\r\n'' in front. 
This
2006 Apr 14
1
AWS and Rails connection?
hi all,
I''m looking for someone framiliar with the rails (and AWS) codebase to 
explain to me how exactly AWS connects to Rails. I''m asking because I 
want to hook in AWS to Camping 
(http://code.whytheluckystiff.net/camping)
Thanks in advance!
--Jesse
-- 
Posted via http://www.ruby-forum.com/.
2006 Feb 21
6
+ camping/session
Camping now comes with a sessioning class, checked in tonight.
To get sessions working for your application:
   1. require ''camping/session''
   2. include Camping::Session in your application''s toplevel module.
   3. In your application''s create method, add a call to
      Camping::Models::Schema.create_schema
   4. Throughout your application, use the @state
2006 Oct 03
4
! camping 1.5 + markaby 0.5
Not too different from their corresponding last releases, but documentation
has been filled in for both.
To upgrade:
  gem install camping --source code.whytheluckystiff.net
And, here is a complete changelog:
== Camping 1.5
* Camping::Apps stores an array of classes for all loaded apps.
* bin/camping can be given a directory. Like: <tt>camping examples/</tt>
* Console mode -- thank
2006 Jul 12
1
+ camping 1.4.123
And now:
  gem install camping --source code.whytheluckystiff.net
I hope this will be the last development release before 1.5.
 * ActiveRecord no longer required or installed.
 * If you refer to Models::Base, however, ActiveRecord will be loaded
   with autoload. (see lib/camping/db.rb)
 * new Camping::FastCGI.serve which will serve a whole directory of apps
   (see TheCampingServer[1])
 *
2006 Jan 26
0
Troubleshooting a camping trip?
I''m anxious to get camping[1], but when I try to run the sample app[2] with:
  camping home_page.rb
I get the source HTML in the terminal along with this errror:
##BEGIN ERROR
/usr/local/lib/ruby/gems/1.8/gems/camping-1.2.46/bin/camping:26:in
`const_get'': nil is not a symbol (TypeError)
        from /usr/local/lib/ruby/gems/1.8/gems/camping-1.2.46/bin/camping:26
        from
2006 Jul 06
0
+ camping 1.4.120
Okay, let''s see.
  gem install camping --source code.whytheluckystiff.net
A bunch of great stuff.
  * Camping::Apps stores constants for all loaded apps.
  * bin/camping can be given a directory. [1]
    Like: camping examples/
  * Console mode -- thank zimbatm.
    Use: camping -C yourapp.rb
  * Call controllers with Camping.method_missing.
    Tepee.get(:Index) #=> (Response)
 
2006 Aug 13
3
+ migrations in camping
Camping apps are supposed to be little independent apps, often contained in a
single file, which create the database tables and manage them without hassle.
These days it''s common to see in a Camping app:
  module Tepee::Models
    def self.schema(&block)
      @@schema = block if block_given?
      @@schema
    end
  end
  Tepee::Models.schema do
    create_table :tepee_pages,
2009 Jan 24
1
Do we still need to be alert when on SQLite3?
Anyone knows if we still need to follow the instructions at
http://web.archive.org/web/20080113055731/code.whytheluckystiff.net/camping/wiki/BeAlertWhenOnSqlite3,
or if the stable release is good enough?
//Magnus Holm
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/camping-list/attachments/20090124/c31af77a/attachment.html>
2006 Aug 19
0
Gems listed on the feeds
Oh, by the way, gem announcements are now listed on the feeds.  So, if you want
to follow camping development and get feed announcements as well, the feed for
you is:
  <http://code.whytheluckystiff.net/camping.xml>
Or if you want all checkins and gem releases for the entire repo:
  <http://code.whytheluckystiff.net/index.xml>
Every project in the repository has a feed, so
2006 Jul 18
4
intro
Hi !!!
I''ve just seen this message on
http://redhanded.hobix.com/inspect/theCampingServer.html
I''d really like to see distributions offer a package which would allow
simple setup of TheCampingServer, just as you see with PHP. If you''re
interested in seeing this happen for the upcoming Camping 1.5 release,
introduce yourself on the
2006 May 16
0
! camping 1.4.1.96
I''m just about ready to release 1.4.2.  Here''s the pre-release:
  gem install camping --source code.whytheluckystiff.net
The biggest recent change is that the Camping commandline tool now 
allows mounting of several apps.  I''ve eliminated examples/serve and am 
encouraging use of the camping tool.  Instead, use:
  camping examples/blog/blog.rb examples/tepee/tepee.rb
2006 May 18
0
+ Camping::FastCGI
Getting Camping to work with FastCGI is a little clunky, since FastCGI 
doesn''t really understand mounting apps and sometimes the environment 
vars are a little whack.  To keep the postambles easy to read, I''ve 
moved the handy stuff into lib/camping/fastcgi.rb.
== Mounting a Single App
Assuming: Camping.goes :Blog ... this goes in your postamble ...
    require
2008 May 19
6
Sample Code, quick simple openid auth
You''ll need to install the ''openid'' gem for this, and require it in  
your camping app:
     class Login < R ''/login''
       def get
         this_url = ''http:'' + URL(''/login'').to_s
         unless input.finish.to_s == ''1''
           # start doing the auth here
           begin
            
2007 Oct 05
8
Cookie session handling?
Hi,
I and a few folks on #camping thought it would be nice to have either
cookie based or file based session handling. This would eliminate the
need for creating a sessions table in the database (or a sequence),
which feels too heavy for a lightweight framework like Camping anyway.
Plus, we can more easily avoid nasty adapter errors. :)
The general consensus was to create a separate