Added support for the Range request header and Content-Range response in HTTP HEAD request.  This is needed for non-dlna servers to get additional info about byte ranges available.  Also added the time_seek_response_received to indicate if the server responded to the timeseekrange header and if time ranges are available.  Added an option when issuing the head request to not include the range header.  At least one server (OCAP RI DMS), will not include the timeseekrange header in the HEAD response if the Range header was included in the request.  Need the ability to get info from timeseekrange header in response so added logic to re-issue HEAD request without range header if server claims to support time seeking but did not include the timeseekrange header in initial HEAD request.  Include time_seek_response_received as an additional parameter when verifying the validity of seeks so we know we are comparing against valid range values.  Added HTTP status code 206 to list of acceptable non-error return values.  Got rid of the space between the HTTP request header identifier and the ":" since the Golden DMS did not like it and upon further spec review, appears to be the way it is spec'd to be.  Moved the logic to parse byte ranges from time seek range method to new method - dlna_src_head_response_parse_byte_range.  This is now used when parsing timeseekrange and also ContentRange response header.  It will also be used for dtcp header parsing.  Clean up the print out HEAD response to not include the time seek range fields if that header was not included in the response.  I plan to do the same thing with DTCP headers.
Converted literal status codes: 200, 201 and 206 to constants.
Merge pull request #3 from cablelabs/golden-dms-testing

Added support for the Range request header and Content-Range response in...
Changed formatting of log message to time using GST_TIME_FORMAT and GST_TIME_ARGS() macros.
Merge pull request #5 from cablelabs/time-formatting

Changed formatting of log message to time using GST_TIME_FORMAT and GST_...
Major restructure to method signatures required to handle multiple head requests but little logic changes.  Renamed "head_response" attribute to "server_info" since this represents the superset of HEAD responses received from a server rather than just a single HEAD response.  Made request, response, and structure strings temporary since they can vary per HEAD.  Modified logic in dlna_src_init_uri() so it will update the overall server info with the second HEAD response.
Addressed issues from code review.  Added dlna_src_head_response_free() to free memory which was allocated associated with HEAD response.  Changed string initialization to { 0 } instead of memset().  Switch from strcat() to strncat() for calls which take strings (left string literals using strcat()).  Switch calls to strtok() to g_strsplit().  Got rid of unused time_seek_hdr in head_response.
Changed string utility functions to be glib: sprintf->g_snprintf, strcmp_>g_strcmp0, strncat->strlcat, strcat->strlcat, sprintf->g_snprintf, strcpy->strlcpy.
Got rid of some commented out code
Merge pull request #6 from cablelabs/multiple-heads

Major restructure to method signatures required to handle multiple head ...
Changed log message level from WARNING to DEBUG.
Changed log message level from DEBUG to LOG.
Use G_GSIZE_FORMAT in another logging output.
Merge pull request #7 from cablelabs/use-g-gsize-format

Use G_GSIZE_FORMAT in another logging output.
Whitespace changes only - ran gst-indent.
Added check for clear text byte support for link protected content.  Also use dtcp_range values to verify changes are valid, response to query and supply segment info.
Merge pull request #12 from cablelabs/verify_clear_byte_text_seek

Added check for clear text byte support for link protected content.  Als...
White space changes only due to gst-indent.
More whitespace changes due to gst-indent.
Removed adding bytes portion to TimeSeekRange.dlna.org header when formulating request since bytes are not supported in the request, they are only valid in the response.