/* Copyright 2001 2002 Debajyoti Bera */
/* This file is part of mGet.
 * mGet is free Software; please refer to COPYING for terms and conditions */

#ifndef __HTTP_CONNECT_H
#define __HTTP_CONNECT_H

#include "common.h"
#include "mgetutil.h"

#define CONNECT_STR "CONNECT %s:%d HTTP/1.1\r\n"PROXY_AUTH_STR"%s\r\n\r\n"

int do_http_CONNECT(SOCKET); //try to CONNECT to the site ... also check if proxy indeed supports CONNECT

#endif


syntax highlighted by Code2HTML, v. 0.9.1