gopher/http.utils.h
Kelvin Sherlock 3f65a4ed2e http parsing
2012-04-29 22:46:22 -04:00

11 lines
247 B
C

#ifndef __HTTP_UTILS_H__
#define __HTTP_UTILS_H__
#include "url.h"
int parseHeaderLine(const char *line, unsigned length, URLRange *key, URLRange *value);
int parseStatusLine(const char *cp, unsigned length, int *version, int *status);
#endif