ne_set_request_expect100(3) [opensolaris man page]
NE_SET_REQUEST_E(3) neon API reference NE_SET_REQUEST_E(3)NAME
ne_set_request_expect100 - function to enable Expect: 100-continue support
SYNOPSIS
#include <ne_request.h>
void ne_set_request_expect100 (ne_request *request, int flag);
DESCRIPTION
An extension introduced in the HTTP/1.1 specification was the use of the Expect: 100-continue header. This header allows an HTTP client to
be informed of the expected response status before the request message body is sent: a useful optimisation for situations where a large
message body is to be sent. The ne_set_request_expect100 function can be used to enable this feature by passing the flag parameter as any
non-zero integer.
Warning
Unfortunately, if this header is sent to a server which is not fully compliant with the HTTP/1.1 specification, a deadlock occurs
resulting in a temporarily "hung" connection. neon will recover gracefully from this situation, but only after a 15 second timeout.
It is highly recommended that this option is not enabled unless it is known that the server in use correctly implements Expect:
100-continue support.
SEE ALSO ne_request_create(3).
AUTHOR
Joe Orton <neon@webdav.org>.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWneon |
+--------------------+-----------------+
|Interface Stability | Volatile |
+--------------------+-----------------+
NOTES
Source for Neon is available on http://opensolaris.org.
neon 0.25.5 20 January 2006 NE_SET_REQUEST_E(3)
Check Out this Related Man Page
NE_SET_REQUEST_(3) neon API reference NE_SET_REQUEST_(3)NAME
ne_set_request_body_buffer, ne_set_request_body_fd - include a message body with a request
SYNOPSIS
#include <ne_request.h>
void ne_set_request_body_buffer (ne_request *req, const char *buf, size_t count);
DESCRIPTION
The ne_set_request_body_buffer function specifies that a message body should be included with the body, which is stored in the count bytes
buffer buf.
SEE ALSO ne_request_create(3)AUTHOR
Joe Orton <neon@webdav.org>.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWneon |
+--------------------+-----------------+
|Interface Stability | Volatile |
+--------------------+-----------------+
NOTES
Source for Neon is available on http://opensolaris.org.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Availability | SUNWneon |
+--------------------+-----------------+
|Interface Stability | Volatile |
+--------------------+-----------------+
NOTES
Source for Neon is available on http://opensolaris.org.
neon 0.25.5 20 January 2006 NE_SET_REQUEST_(3)
I am rewriting the first big script project I ever coded to clean up some issues, mainly my really clumsy bash code, and to migrate to TCL/Expect. I have a couple of questions that I could use some help with.
1.) The script needs to know where it is located. I realize that I could use "find /... (1 Reply)
Hello,
I'm a very basic beginning user of OpenBSD. I'd like to install neon-0.26.3.
I placed it on our server but I don't know how to install it.
The directory has the following contain:
# ls
.package AUTHORS ChangeLog.CVS NEWS TODO ... (1 Reply)
HI All,
I am currently working on one command line application on AIX (Unix Platform).Here i need to use Expect package.
By using Expect package at the top of the script,i want to use just Send command of Expect package to send characters like,
1. Press Enter key
2. Press spacebar
3.... (6 Replies)
Problem Description: I have written the Expect script in Linux box, able to login from Linux to Windows and able to execute the command(eg, hostname) on windows server which produces some value. I want to pass this value from Windows to Linux box . Can we pass any parameter from Linux with expect... (2 Replies)
Hi All,
I am suppose to capature the value command `show ip route` of a router in a Expect script. But i am not able to catch the value in a variable or a file in the following Expect script.
#!/usr/bin/expect -f
set input
spawn telnet localhost $argv
expect "Escape character is '^]'."... (5 Replies)
Hi All, I have been trying to get an Expect program to communicate with a Remote Power Switch which will eventually log in, and then turn on/off certain outlets. For some reason, I can't get through the log in procedure with this Switch. When you first spawn the telnet, you get the Switch... (1 Reply)
hi, I am new in Expect.
I have a question about expect timeout.
suppose I have a structure of
expect { ".."{
send"............"}
timeout{
...............
}
}
The silly question is if I reach timeout, how can I store the error message showing on the screen to... (2 Replies)
Hello Expect experts,
Is it possible with Expect to run a command first when an expected phrase is
outputted by a spawned program? Before sending an answer to the spawned program that is...
Thanks a lot. (2 Replies)
I'm using Expect to execute a command on a router and return the output to a file. The output is a list. At the end of the list there's a statement that reads, "Found 165 active connections" (Where "165" could be any number between 0 and 2000.) I'm familiar with using Expect to return data from... (2 Replies)
I have a log file that contains several reports with following format.
<Start of delimiter> Report1 header
Report1 header continue
Report1 header continue
Record1 header
Record1 header continue
Record1 header continue
field1 field2 field3 field4
------... (1 Reply)
Hello All,
I have an Expect Script that ssh'es to a server and does some stuff.
In Expect there is a built-in Array Variable called "expect_out(buffer)" which contains all the output from the previous send command up until the expected output.
I want to pass the array "expect_out(buffer)" to... (2 Replies)
Hello "expect" experts
I am new at Expect. I have searched for a little while how to capture multiple lines with Expect and I am almost succeeded on that but I don't get all the lines of a command's output that the script executes on a server.
Here is how my script works in a nutshell -
... (6 Replies)
I'm having some difficulty with convincing Expect to do what I need..
I have a loop that waits for input, a specific phrase of text followed by a single word. I need Expect to capture that word following the specific phrase. It should then store the word in a variable.
I'm fairly sure it's... (6 Replies)