All Apps and Add-ons

content-length error

gvhees
Explorer

Hi,
How long can a url be?

I get the following error:
command="importutil", 'content-length' Usage : importutil [config=] [format=]

My url is 79 characters.

Or is it the response? It is a multiline XML document that is returned.

Tags (2)

stanwin
Contributor

I am seeing similar error

command="importutil", 'content-length' Usage : importutil [config=] [format=] Example : importutil http http://research.stlouisfed.org/fred2/data/PAYEMS.txt

In http.py i can see that program tries to find length of message.
#Determine the content length.
contentlen = message.headers['Content-Length']

BUt no clue if this is URL or returned file..

0 Karma

tcoq
Path Finder

I run into the same error with the given example:

importutil http http://research.stlouisfed.org/fred2/data/PAYEMS.txt

0 Karma

jeffbolar
Engager

Having the same issue. Would love to hear about a solution.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...