Module: sip-router Branch: master Commit: b520501258d59192746b1771e6827da543963189 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=b5205012...
Author: Alex Balashov abalashov@evaristesys.com Committer: Alex Balashov abalashov@evaristesys.com Date: Wed Oct 6 03:08:05 2010 -0400
Fixed some typos in xhttp module docs.
---
modules/xhttp/README | 15 ++++++++------- modules/xhttp/doc/xhttp_admin.xml | 12 ++++++------ 2 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/modules/xhttp/README b/modules/xhttp/README index ae772fd..0133f15 100644 --- a/modules/xhttp/README +++ b/modules/xhttp/README @@ -59,14 +59,15 @@ Chapter 1. Admin Guide
1. Overview
- This module provides a basic HTTP/1.0 server functionaly inside SIP - server. SIP and HTTP are very similar protocols, practically the SIP - parser can handle easy HTTP requests just by adding a fake Via header. + This module provides basic HTTP/1.0 server functionality inside SIP + Router. SIP and HTTP are very similar protocols, so, practically, the + SIP parser can easily handle HTTP requests just by adding a fake Via + header.
The xmlrpc module uses the same concept. xHTTP module offers a generic HTTP handling way, by calling event_route[xhttp:request] in your config. You can check the HTTP URI via config variable $hu. Note that - $ru will rise errors since URO is not valid for SIP. + $ru will raise errors since URO is not valid for SIP.
2. Dependencies
@@ -91,8 +92,8 @@ Chapter 1. Admin Guide
3.1. url_skip (str)
- Regular expression to match the HTTP URL. If there is match, then event - route is not executed. + Regular expression to match the HTTP URL. If there is a match, then + event route is not executed.
Default value is null (don't skip).
@@ -103,7 +104,7 @@ modparam("xhttp", "url_skip", "^/RPC2")
3.2. url_match (str)
- Regular expression to match the HTPP URL. If there is no match, then + Regular expression to match the HTTP URL. If there is no match, then event route is not executed. This check is done after url_skip, so if both url_skip and url_match would match then the event route is not executed (url_skip has higher priority). diff --git a/modules/xhttp/doc/xhttp_admin.xml b/modules/xhttp/doc/xhttp_admin.xml index 7128d34..ee735ca 100644 --- a/modules/xhttp/doc/xhttp_admin.xml +++ b/modules/xhttp/doc/xhttp_admin.xml @@ -16,16 +16,16 @@ <section> <title>Overview</title> <para> - This module provides a basic HTTP/1.0 server functionaly inside SIP - server. SIP and HTTP are very similar protocols, practically the - SIP parser can handle easy HTTP requests just by adding a fake + This module provides basic HTTP/1.0 server functionality inside SIP + Router. SIP and HTTP are very similar protocols, so, practically, the + SIP parser can easily handle HTTP requests just by adding a fake Via header. </para> <para> The xmlrpc module uses the same concept. xHTTP module offers a generic HTTP handling way, by calling event_route[xhttp:request] in your config. You can check the HTTP URI via config variable - $hu. Note that $ru will rise errors since URO is not valid for SIP. + $hu. Note that $ru will raise errors since URO is not valid for SIP. </para> </section> <section> @@ -63,7 +63,7 @@ <section> <title><varname>url_skip</varname> (str)</title> <para> - Regular expression to match the HTTP URL. If there is match, + Regular expression to match the HTTP URL. If there is a match, then event route is not executed. </para> <para> @@ -83,7 +83,7 @@ modparam("xhttp", "url_skip", "^/RPC2") <section> <title><varname>url_match</varname> (str)</title> <para> - Regular expression to match the HTPP URL. If there is no match, + Regular expression to match the HTTP URL. If there is no match, then event route is not executed. This check is done after url_skip, so if both url_skip and url_match would match then the event route is not executed (url_skip has higher priority).