Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

RFC 2068

Posted on 1998-09-20
4
188 Views
Last Modified: 2013-11-19
Does anyone have a good link to a short, but precise
description of the HTTP 1.1 protocol? I have already found
a *huge* description which is describes even the smallest
eventualities(about 390k size).
Links are greatly appreciated :)
0
Comment
Question by:snoegler
  • 2
4 Comments
 
LVL 1

Expert Comment

by:Grailman
ID: 1322347
0
 
LVL 6

Author Comment

by:snoegler
ID: 1322348
I think this is my fault ... I am searching for a page which describes the HTTP 1.1 protocol
commands - this is for automated queries from a internet database. So i need some
good documentation - as i've already mentioned, i have found one, but it is so large and
full of details that it is not readable, at least not on the monitor ...
Thanks for your time, BTW.
0
 
LVL 7

Accepted Solution

by:
faster earned 80 total points
ID: 1322349
Try this one:
http://www.apacheweek.com/features/http11

You may still need to refer to the RFC for detail.
0
 
LVL 6

Author Comment

by:snoegler
ID: 5972490
This is just a note ... :)

BOOL GetUniversalName( char szUniv[], char szDrive[] )
{
  // get the local drive letter
  char chLocal = (char)toupper( szDrive[0] );
   // cursory validation
  if ( chLocal < 'A' || chLocal > 'Z' )
    return FALSE;
   if ( szDrive[1] != ':' || szDrive[2] != '\\' )
     return FALSE;
   HANDLE hEnum;
  DWORD dwResult = WNetOpenEnum( RESOURCE_CONNECTED, RESOURCETYPE_DISK, 0, NULL, &hEnum );

  if ( dwResult != NO_ERROR )
     return FALSE;
   // request all available entries
  const int    c_cEntries   = 0xFFFFFFFF;
  // start with a reasonable buffer size
  DWORD        cbBuffer     = 50 * sizeof( NETRESOURCE );
  NETRESOURCE *pNetResource = (NETRESOURCE*) malloc( cbBuffer );

  BOOL fResult = FALSE;

  while ( TRUE )
  {
     DWORD dwSize   = cbBuffer,
           cEntries = c_cEntries;

     dwResult = WNetEnumResource( hEnum, &cEntries, pNetResource, &dwSize );

     if ( dwResult == ERROR_MORE_DATA )
     {
        // the buffer was too small, enlarge
        cbBuffer = dwSize;
        pNetResource = (NETRESOURCE*) realloc( pNetResource, cbBuffer );
        continue;
     }

     if ( dwResult != NO_ERROR )
        goto done;

     // search for the specified drive letter
     for ( int i = 0; i < (int) cEntries; i++ )
        if ( pNetResource[i].lpLocalName &&
             chLocal == toupper(pNetResource[i].lpLocalName[0]) )
        {
           // match
           fResult = TRUE;

           // build a UNC name
           strcpy( szUniv, pNetResource[i].lpRemoteName );
           strcat( szUniv, szDrive + 2 );
           //_strupr( szUniv );
           goto done;
        }
  }

done:
  // cleanup
  WNetCloseEnum( hEnum );
  free( pNetResource );

  return fResult;

}
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
maven archtype selection in eclipse 1 57
matchUp  challenge 6 69
building a service to accessed via telnet client, want colors ? 4 94
Fibonacci challenge 11 133
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question