couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Tikalsky (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (COUCHDB-1370) Content-Length in Quick Start Create View example is 79, should be 76
Date Sat, 24 Dec 2011 22:13:30 GMT

     [ 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

        

Mime
View raw message