Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3396040
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T04:21:38+00:00 2026-05-18T04:21:38+00:00

I am using mod_perl 2, mason, and apache 2.2 on Ubuntu 10.10 (x86) (standard

  • 0

I am using mod_perl 2, mason, and apache 2.2 on Ubuntu 10.10 (x86) (standard packages from apt). When I send a HTTP request to my server, I get the following:

$ nc localhost 80 < ~/Desktop/test.http
HTTP/1.1 200 OK
Date: Mon, 22 Nov 2010 00:32:02 GMT
Server: Apache/2.2.16 (Ubuntu)
Vary: Accept-Encoding
Transfer-Encoding: chunked
Content-Type: text/html

38
<html><body>Current IP Address: 127.0.0.1</body></html>

0

I am a bit curious about this. What do those numbers (38 and 0) mean? I have looked in my logs, but I don’t see anything meaningful and I can’t seem to figure out the best search phrase for Google (and sorry if I am missing something obvious from the docs). I get the same result from telnet (but Firefox doesn’t seem to throw any sort of error).

Here is the content of my request (omitting the whitespace at the end):

GET /test.html HTTP/1.1
HOST: example.com

and my script (test.html):

% my $ip = $r->connection->remote_ip();
<html><body>Current IP Address: <% $ip %></body></html>

Thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T04:21:39+00:00Added an answer on May 18, 2026 at 4:21 am

    The numbers are boundary delimiters for chunked encoding. (Note the value of the Transfer-Encoding header you got in the response.)

    The 38 indicates there are 38(hex) = 56 bytes in the first chunk. The 0 indicates there are no more chunks.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using Server version: Apache/1.3.34 (Debian) mod_perl - 1.29 By refering to STDIN,
I'm trying to use Apache::Session::Memcached in an HTML::Mason project where I'm using MasonX::Request::WithApacheSession to
My company develop web apps using combination of mod_perl, axkit and apache. We have
I'm using Apache 2.2x. Most of the content is generated via mod_perl. So, it's
I have a Mason template running under mod_perl, which is using Log::Log4perl. I want
We've developed an open web API using Apache and mod_perl, where you can pass
I am using mod_perl for my web application. Currently, I plan to use a
I'm using Mod Rewrite for IIS 7.0 from iis.net and want to redirect requests:
I'm trying to migrate CGI scripts to mod_perl using ModPerl::Registry . The scripts use
My mod_perl appears to cause a segmentation fault in my Apache. 'httpd -X' simply

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.