mirror of
https://github.com/curl/curl.git
synced 2026-08-26 04:13:31 +03:00
support for using protocol without a trailing newline
This commit is contained in:
parent
7d043f46d5
commit
ae8a8c8ba4
2 changed files with 13 additions and 2 deletions
|
|
@ -62,8 +62,10 @@ One regex per line that is removed from the protocol dumps before the
|
|||
comparison is made. This is very useful to remove dependencies on dynamicly
|
||||
changing protocol data such as port numbers or user-agent strings.
|
||||
</strip>
|
||||
<protocol>
|
||||
the protocol dump curl should transmit
|
||||
<protocol [nonewline=yes]>
|
||||
the protocol dump curl should transmit, if 'nonewline' is set, we will cut
|
||||
off the trailing newline of this given data before comparing with the one
|
||||
actually sent by the client
|
||||
</protocol>
|
||||
<stdout>
|
||||
This verfies that this data was passed to stdout.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue