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!

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 ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...