aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docs/pathod/language.rst4
-rw-r--r--examples/complex/har_dump.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/docs/pathod/language.rst b/docs/pathod/language.rst
index 672e21b6..fe4ef6ca 100644
--- a/docs/pathod/language.rst
+++ b/docs/pathod/language.rst
@@ -23,7 +23,7 @@ HTTP Request
mode if the server responds correctly. Apart from that, websocket
requests are just like any other, and all aspects of the request
can be over-ridden.
- * - h\:\ :ref:`VALUE`\ =\ :ref:`VALUE`\
+ * - h\ :ref:`VALUE`\ =\ :ref:`VALUE`\
- Set a header.
* - r
- Set the **raw** flag on this response. Pathod will not calculate a
@@ -73,7 +73,7 @@ HTTP Response
* - m\ :ref:`VALUE`
- HTTP Reason message. Automatically chosen according to the response
code if not specified. (HTTP/1 only)
- * - h\:\ :ref:`VALUE`\ =\ :ref:`VALUE`\
+ * - h\ :ref:`VALUE`\ =\ :ref:`VALUE`\
- Set a header.
* - r
- Set the **raw** flag on this response. Pathod will not calculate a
diff --git a/examples/complex/har_dump.py b/examples/complex/har_dump.py
index 51983b54..86a33684 100644
--- a/examples/complex/har_dump.py
+++ b/examples/complex/har_dump.py
@@ -147,7 +147,7 @@ def response(flow):
}
if flow.server_conn.connected():
- entry["serverIPAddress"] = str(flow.server_conn.ip_address.address[0])
+ entry["serverIPAddress"] = str(flow.server_conn.ip_address[0])
HAR["log"]["entries"].append(entry)