Hi, I'm trying to understand the following example in the doc: http://wiki.freeswitch.org/wiki/Event_List Upon job completion, server response ---------------------- Content-Length: 625 Content-Type: text/event-plain Job-UUID: 7f4db78a-17d7-11dd-b7a0-db4edd065621 Job-Command: originate Job-Command-Arg: sofia/default/1005%20'%26park' Event-Name: BACKGROUND_JOB Core-UUID: 42bdf272-16e6-11dd-b7a0-db4edd065621 FreeSWITCH-Hostname: ser FreeSWITCH-IPv4: 192.168.1.104 FreeSWITCH-IPv6: 127.0.0.1 Event-Date-Local: 2008-05-02%2007%3A37%3A03 Event-Date-GMT: Thu,%2001%20May%202008%2023%3A37%3A03%20GMT Event-Date-timestamp: 1209685023894968 Event-Calling-File: mod_event_socket.c Event-Calling-Function: api_exec Event-Calling-Line-Number: 609 Content-Length: 41 +OK 7f4de4bc-17d7-11dd-b7a0-db4edd065621 ---------------------- What is the purpose of the first "Content-Length: 625"? Why not just send all the headers with no Content-Lenght? (just leave the second Content-Length:41 which is the length of the job uuid). So what is the purpose of the first Content-Length? A parser doesn't need it at all as it can read headers until it finds "Content-Length" (so it reads N bytes more) or it finds a double \n\n (so event info is terminated). Thanks for any clarification. -- Iñaki Baz Castillo <ibc@aliax.net>