You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "James Tikalsky (Created) (JIRA)" <ji...@apache.org> on 2011/12/24 23:13:30 UTC

[jira] [Created] (COUCHDB-1370) Content-Length in Quick Start Create View example is 79, should be 76

Content-Length in Quick Start Create View example is 79, should be 76
---------------------------------------------------------------------

                 Key: COUCHDB-1370
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1370
             Project: CouchDB
          Issue Type: Bug
          Components: Documentation
            Reporter: James Tikalsky
            Priority: Minor


Title: Couch DB Quick Start
URL: http://wiki.apache.org/couchdb/CouchIn15Minutes

Description:

Using the documented Create View causes the database connection to timeout and close without creating the view.

Expected Example Text:

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /example/_design/render HTTP/1.0
Content-Length: 76
Content-Type: application/json

{"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 


Actual Example Text:

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /example/_design/render HTTP/1.0
Content-Length: 79
Content-Type: application/json

{"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Closed] (COUCHDB-1370) Content-Length in Quick Start Create View example is 79, should be 76

Posted by "Randall Leeds (Closed) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Randall Leeds closed COUCHDB-1370.
----------------------------------

    Resolution: Fixed

Fixed. It's actually 77 according to "wc -c" for me.
Also, if you'd like to edit the wiki please reply with your username and I'll give you premission. It's not necessary to file a ticket for wiki changes.
                
> Content-Length in Quick Start Create View example is 79, should be 76
> ---------------------------------------------------------------------
>
>                 Key: COUCHDB-1370
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1370
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: James Tikalsky
>            Priority: Minor
>
> Title: Couch DB Quick Start
> URL: http://wiki.apache.org/couchdb/CouchIn15Minutes
> Description:
> Using the documented Create View causes the database connection to timeout and close without creating the view. The values of "Content-Length" is 79, should be 76.
> Expected Example Text:
> $ telnet localhost 5984
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> PUT /example/_design/render HTTP/1.0
> Content-Length: 76
> Content-Type: application/json
> {"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 
> Actual Example Text:
> $ telnet localhost 5984
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> PUT /example/_design/render HTTP/1.0
> Content-Length: 79
> Content-Type: application/json
> {"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (COUCHDB-1370) Content-Length in Quick Start Create View example is 79, should be 76

Posted by "James Tikalsky (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Tikalsky updated COUCHDB-1370:
------------------------------------

    Description: 
Title: Couch DB Quick Start
URL: http://wiki.apache.org/couchdb/CouchIn15Minutes

Description:

Using the documented Create View causes the database connection to timeout and close without creating the view. The values of "Content-Length" is 79, should be 76.

Expected Example Text:

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /example/_design/render HTTP/1.0
Content-Length: 76
Content-Type: application/json

{"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 


Actual Example Text:

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /example/_design/render HTTP/1.0
Content-Length: 79
Content-Type: application/json

{"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 



  was:
Title: Couch DB Quick Start
URL: http://wiki.apache.org/couchdb/CouchIn15Minutes

Description:

Using the documented Create View causes the database connection to timeout and close without creating the view.

Expected Example Text:

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /example/_design/render HTTP/1.0
Content-Length: 76
Content-Type: application/json

{"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 


Actual Example Text:

$ telnet localhost 5984
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
PUT /example/_design/render HTTP/1.0
Content-Length: 79
Content-Type: application/json

{"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 



    
> Content-Length in Quick Start Create View example is 79, should be 76
> ---------------------------------------------------------------------
>
>                 Key: COUCHDB-1370
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1370
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Documentation
>            Reporter: James Tikalsky
>            Priority: Minor
>
> Title: Couch DB Quick Start
> URL: http://wiki.apache.org/couchdb/CouchIn15Minutes
> Description:
> Using the documented Create View causes the database connection to timeout and close without creating the view. The values of "Content-Length" is 79, should be 76.
> Expected Example Text:
> $ telnet localhost 5984
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> PUT /example/_design/render HTTP/1.0
> Content-Length: 76
> Content-Type: application/json
> {"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 
> Actual Example Text:
> $ telnet localhost 5984
> Trying 127.0.0.1...
> Connected to localhost.
> Escape character is '^]'.
> PUT /example/_design/render HTTP/1.0
> Content-Length: 79
> Content-Type: application/json
> {"shows" : {"salute" : "function(doc, req) {return {body: doc.greetings}}"}} 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira