Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why does XWiki think my text file is a binary file?

binary file text think xwiki
0
Posted

Why does XWiki think my text file is a binary file?

0

What you’re seeing is a “problem” with mime-types. Mime-types are a way to identify what sort of file content is being sent. To do that, the server needs a way of telling what the content is. The way Tomcat does it is to define the mime type based on extensions in a config file called web.xml. Be sure the file has the .txt extension, Then it should be recognized as a text file.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123