Project

General

Profile

« Previous | Next » 

Revision 2080

Added by Matt Jones over 20 years ago

Set content type properly for getversion action.

View differences:

src/edu/ucsb/nceas/metacat/MetaCatServlet.java
439 439
        handleGetRevisionAndDocTypeAction(out, params);
440 440
        out.close();
441 441
      } else if (action.equals("getversion")) {
442
          response.setContentType("text/xml");
442 443
          PrintWriter out = response.getWriter();
443 444
          out.println(Version.getVersionAsXml());
444 445
          out.close();

Also available in: Unified diff