From 167dcdfc063e16adba1af2f7ad5ad77b3994c8d3 Mon Sep 17 00:00:00 2001 From: Akagi201 Date: Sun, 28 Dec 2014 19:02:40 +0800 Subject: [PATCH] readme: fix typo PR-URL: https://github.com/joyent/http-parser/pull/207 Reviewed-By: Fedor Indutny --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f9972ae..7c54dd4 100644 --- a/README.md +++ b/README.md @@ -131,7 +131,7 @@ There are two types of callbacks: * notification `typedef int (*http_cb) (http_parser*);` Callbacks: on_message_begin, on_headers_complete, on_message_complete. * data `typedef int (*http_data_cb) (http_parser*, const char *at, size_t length);` - Callbacks: (requests only) on_uri, + Callbacks: (requests only) on_url, (common) on_header_field, on_header_value, on_body; Callbacks must return 0 on success. Returning a non-zero value indicates