• September 23, 2020, 09:35:04 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  


This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: HTTP Response is not as stated in manual  (Read 3345 times)


  • Level 1 Member
  • *
  • Posts: 1
HTTP Response is not as stated in manual
« on: March 21, 2014, 03:48:46 PM »

hey there,

I am using DCS 5020L and I am planning to use LabVIEW to get the images. So I got this document:
IP Camera CGI Interface
Version 2.01

from: http://forums.dlink.com/index.php?topic=57304.0

In page 6 of that document, it stated that:
2.2.   Response messages
While IP camera receives request message from user, it will do the related action then output result as response message:
HTTP/1.0 <HTTP code> <HTTP text><CRLF>
Content-Type: text/html<CRLF>
Content-Length: <body length><CRLF>

I bold the Content-Length, because when I send several commands, like GET /isystem.cgi HTTP/1.0 for example, I got this response:

HTTP/1.0 200 OK
Server: alphapd
Date: Sat Jan  1 00:00:05 2000
Pragma: no-cache
Cache-Control: no-cache
Content-type: text/plain

FirmwareVersion=1.03 (2014-01-22)
MACAddress=28 10 7B 1B 30 A6
EthernetSpeed=100M bps
EthernetDuplex=Full Duplex

Notice that there is no Content-Length.

I have tried other commands and it return without Content-Length. Is this a bug or I have missed some points?